Grammatical gender is a system classifying nouns into distinct categories (masculine, feminine, neuter, or animacy-based) that trigger agreement patterns on adjectives, determiners, and sometimes verbs. Gender classes vary dramatically: some languages have two classes, others three or more, and many lack gender entirely.
From your work on agreement and morphological structure, you know that languages use grammatical features to link words within a sentence and that morphemes encode those features systematically. Grammatical gender is one such feature — a classification system that sorts nouns into groups and then requires other words in the noun phrase (and sometimes beyond it) to take forms that signal their membership in the same class. The critical insight is that *grammatical gender is a morphosyntactic category*, not a semantic one. The German word *Mädchen* (girl) is neuter, not feminine; the French word *livre* (book) is masculine. Gender assignments are partially but not fully predictable from meaning, and the mismatch reveals that the system is doing grammatical work, not semantic work.
The most fundamental distinction in gender typology is between semantic gender systems and formal gender systems. Semantic systems (like English, which has only residual gender in pronouns) assign gender based primarily on animacy and biological sex. Formal systems (like German, French, Spanish, or Swahili) assign gender by a combination of semantic cues, phonological patterns, and morphological class membership. In Swahili and related Bantu languages, the term "gender" is sometimes replaced by noun class, since the 15+ classes include categories like humans, animals, plants, abstracts, and diminutives — a system far richer than the masculine/feminine/neuter trichotomy familiar from European languages.
The agreement cascade is where gender becomes grammatically consequential. In Spanish, when a noun's gender changes — or when a speaker selects a noun — the entire noun phrase realigns: *el libro rojo* (masculine: the red book) versus *la mesa roja* (feminine: the red table). Adjectives, determiners, and participles all carry agreement morphology. This is why, from your morphological training, gender is classified as an inherent feature of nouns (part of their lexical entry) rather than a contextually assigned feature — you cannot change a noun's gender mid-sentence the way you can change its number or case.
Languages vary in how transparent gender assignment is. Some languages have phonological gender cues (nouns ending in *-a* are often feminine in Romance languages), morphological cues (derivational suffixes reliably predict class), or semantic cues (animate nouns align with biological sex). Learners and linguists use these heuristics, but exceptions are common and must be learned item by item. Typologically, the key cross-linguistic questions are: how many gender classes does a language have, what features determine class membership, and what categories trigger agreement — answers that vary dramatically and reveal deep differences in how languages organize the noun phrase.