# Global State

*noun*

say it: **“GLOH-bul STAYT”** **/ˈɡloʊbəl steɪt/**

Data that any part of a program can read and change, so a change made in one place is felt everywhere.

## What is **global state**?

**Global state** is data any part of a program can reach and change, such as a shared settings object read from everywhere. It's convenient, but a change made in one place shows up everywhere, including in tests that expected the old value.

## In a sentence

- “The tests failed together because the shared settings object was **global state**.”

Level: Journeyman · [More Software Development terms at this level](https://www.ask-codey.com/glossary?category=software-development&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/global-state
