In Strategy Games, specifically RealTimeStrategy, this is the ability of some structures to hold infantry units, allowing them to TakeCover and fire out at enemies. There are three types:

* '''Type 1''': Pre-placed on the map, and take the form of abandoned houses and commercial buildings.
* '''Type 2''': Built for this purpose alone, and are almost invariably called bunkers, even if they're actually forts or redoubts. They can be more resilient than Type 1 structures but are almost always obvious to visual identification.
* '''Type 3''': Production or headquarters structures that can also be garrisoned, either to defend the structure, or to provide shelter for the [[WorkerUnit workers]] inevitably swarming around the base during an attack. In these cases, workers who can not ordinarily attack with any effectiveness will gain some kind of ranged counter as long as they stay inside.

In any case, the units inside will generally take no damage when the building is attacked, and may survive the destruction of the building, to be unceremoniously dumped on the sidewalk when it loses that [[CriticalExistenceFailure last hit point]], and presumably then have to face whatever did the deed. A hard counter for garrisonable structures is often included in a game that features them, often some kind of grenade. The other common counter is the flamethrower. Both are, of course, some of the real-life counters for the same.

Sometimes, production structures of various types will need to have units garrisoned in them to function. This serves as a way to scale the effectiveness of the building; devote more human resources from your population cap to it, it becomes more effective.

In some extreme cases, structures might exist that can garrison ''vehicles''.


* ''VideoGame/CommandAndConquer'', from ''[[VideoGame/CommandAndConquerRedAlert2 Red Alert 2]]'' and onwards, makes ''extensive'' use of this. Hiding infantry in structures (usually civilian, although versions made by the commanding player's military is possible) is an effective way to gain territory. Several rules of thumb apply. Firstly, [[CriticalExistenceFailure a structure, if civilian, must be crippled, if not outright destroyed]], to force an evacuation. Complete destruction is only necessary if it belongs to a military. Secondly, if available, a hard counter can be used to kill occupants at an instant and leave the formerly occupied building intact. And thirdly, even some vehicles can be [[TakeCover used for cover]], but hard counters do not work on them. Comes in two distinct eras:
** The ''[[VideoGame/CommandAndConquerRedAlert2 Red Alert 2]]'' era. Only pre-placed structures are occupiable and only the most basic infantry can be occupants, although [[GameMod modifications]] can extend the garrison ability to other kinds of infantry. Hard counters and occupiable vehicles aren't introduced yet.
*** ''[[VideoGame/CommandAndConquerRedAlert2 Red Alert 2]]'''s ExpansionPack, ''Yuri's Revenge'', made military-made infantry bunkers and occupiable vehicles possible. A more extreme case (as mentioned by this article) is the Tank Bunker, which allows a whole ''tank'' in it. In noncombat operations, there's a Bio Reactor, a type of power generator that allows troops in to increase its total power output.
** Post-''[[VideoGame/CommandAndConquerRedAlert2 Red Alert 2]]'' era: officially lets pretty much any infantry to occupy buildings and vehicles. Hard counters are first introduced here.
*** Buildings aside, many vehicles in ''[[VideoGame/CommandAndConquerGenerals Generals]]'' can be makeshift bunkers-- some may require an upgrade first. Hard counters to garrisons include FastRoping, [[GrenadeLauncher flashbangs]], [[KillItWithFire flamethrowers]] and [[DepopulationBomb toxin sprayers]]. The ''Zero Hour'' expansion adds crazier fortifiable {{Military Mashup Machine}}s and a new [[ThereIsNoKillLikeOverkill antibunker missile]]. Also, certain buildings react differently to an attack: some are counter-resistant while others can't cover their occupants that much, though all garrisoned troops are protected from the OneHitKill effects of snipers. Outside combat, there's an underground tunnel network building that works much like [[CoolGate a portal]] and another that allows their occupants to do [[CommandAndConquerEconomy resourcing functions]] in a safe place. Infantry can also be garrisoned in the Barracks in order to be healed, though there's so many other ways to get the same effect that few players ever use this ability. Needless to say, the ''Generals'' series took this trope [[UpToEleven to a whole new level]].
*** Subsequent games are more beligerent than ''[[VideoGame/CommandAndConquerGenerals Generals]]''. In ''VideoGame/CommandAndConquerTiberiumWars'', GDI supports garrison while Nod antagonizes it to hell. The former has a makeshift hospital, a small bunker that's built by grunts, an AwesomePersonnelCarrier and a MilitaryMashupMachine, with their only hard counter being hand grenades. The latter goes antibunker, what with [[KillItWithFire flamethrower]] tanks and soldiers. Its only occupiable is an unarmed, hard-skinned vehicle with questionable effectiveness. But the "unsupportive" title goes to the Scrin. They only have three kinds of units that do urban warfare: the first is strictly a [[MindControlDevice psychic]] [[PuppeteerParasite alien-dominated]] occupant, the second is an occupant and a hard counter while the third is just an armored toxic antibunker.
*** In the expansion, ''Kane's Wrath'', the Steel Talons subfaction apparently decided this wasn't sufficient, so they added garrison pods to their [[WorkerUnit harvesters]] and artillery. This could be fairly effective in giving normally very vulnerable units a decent punch, but was hampered by the fact that [[CripplingOverspecialization the Steel Talons eschew advanced infantry in favor of tanks]].
*** Soviet Engineers in ''[[VideoGame/CommandAndConquerRedAlert3 Red Alert 3]]'' can build bunkers in places that don't have structures to garrison, and all three sides have a counter-garrison option in their basic infantry. Allied Peacekeepers, which are as much SWAT cops as soldiers, and the katana-wielding Imperial Solders, can charge in and trade some of their own lives for the units inside. Soviet Conscripts can just kill everything inside by [[InsertGrenadeHere tossing in]] some {{molotov cocktail}}s.
* ''VideoGame/StarCraft'' has no neutral garrisonable structures, but the Terrans do build bunkers as their main defense building. It wouldn't work for the Protoss or Zerg, as their infantry use melee attacks.
** In the sequel, they can be upgraded to hold more units, and the campaign has an upgrade that either makes them tougher or gives them a WeakTurretGun to defend with even while empty.
* In ''VideoGame/WarCraftIII'', the Orcs rely on a medieval version of the Terran bunkers (known as "Burrows") as their main ground defense. They are implied to be something like a home. [[ProudWarriorRaceGuy Garrisoning their own homes seems entirely in character for the Horde.]] It also uses the "arm the workers" effect for any Peons moved inside one.
* In ''VideoGame/RiseOfNations'', citizens can be ordered to take cover, at which time they will garrison themselves in a nearby city or tower, and use guns or bows to defend themselves. Scholars generate the knowledge resource when garrisoned in universities, and can be moved from one to the next. Oil platforms require a worker garrison him/herself inside to function.
** Garrison is also the only way to heal units (unless you play French or have the Versailles wonder, then the supply wagons can do field medic duties). Early in the game, cavalry can garrison in forts and towers, but armored units later in the game can only be stored in the factory that made them.
* In ''VideoGame/CompanyOfHeroes'', units can garrison in many of the abandoned buildings found on the battlefield. Some of the bigger ones can be upgraded into headquarters structures. This is usually a good move, as the buildings engineers can build out on the field are weak, sandbag-and-tent affairs, or deployable vehicles. Infantry can also TakeCover out on the field, behind walls or in trenches.
** Notably, however, the game actually averts the typical "infantry will not take damage inside the structure" ''except'' for engineer-constructed shelters and garrisonable vehicles (though whatever destroys a vehicle or bunker is likely to take out any garrisoned infantry in the same hit). Inside civilian buildings, infantry units can still take casualties as normal from a variety of weapons, though in keeping with this trope, flamethrowers and (especially) grenades/satchel charges seem to be particularly effective.
* ''VideoGame/ActOfAggression'' has similar garrison mechanics to C&C. However infantry are not completely invulnerable when in buildings and and can still be killed. Also sniper units are capable of picking infantry taking cover in buildings easily. In addition, riflemen and special forces units from each sides are capable of assaulting the occupied buildings, provided they can get in. Unlike other games, this results in a short time firefight inside the building rather than instantly clearing it and if the attackers are outgunned, the defenders can still kick them out.
* ''TabletopGame/{{Warhammer 40000}}'' video games:
** The Imperial Guard in ''VideoGame/DawnOfWar'' can do this with their own structures, and several other races can garrison units for other purposes than defense (i.e. garrison in one building, come out another). ''[=DoW=] II'' plays this trope much straighter, with pre-placed garrisonable buildings covering most maps.
** ''Rites of War'' has built up areas that give units located within them an advantage to defense. Even more importantly, units in structures can rest for a turn to get full replacements, instantly returning to full combat strength, as long as there are no enemy units in adjacent hexes. Outside of structures, resting only lets your wounded recover, but brings in no replacements for troops who have been killed. These structures, it should be noted, are all type one.
* Infantry in ''VideoGame/WorldInConflict'' can garrison buildings, and the larger the building, the more units it can hold. While garrisoning doesn't give them additional offensive capabilities, a building does shield the infantry from all damage while reducing neither its sight, nor firing distance, making the efficient use of cover the prime directive of the Infantry role. The precious few ways to neutralize a building cluster infested by enemy infantry mostly include massive bombardment that destroys the buildings before they can get out. The only "clean" flush-out method that preserves the buildings themselves is the chemical attack.
* ''VideoGame/EndWar'' also allows infantry to garrison buildings. It's [[GoddamnedBats rather annoying]] when the enemy does it - riflemen in cover can kill damn near anything. Except [[TacticalRockPaperScissors tanks, and artillery, and riflemen with the Storm Building ability.]] And Engineers in cover will ''ruin your day'' if you're vehicle-heavy.
* ''Star Wars: VideoGame/EmpireAtWar'' and its expansion, ''Forces of Corruption''. First, all production buildings will have certain "garrison" units. Barracks: Infantry (both types for Rebellion and Zann Consortium, Stormtroopers and Scoutroopers on speeder bikes for Empire), Light Factory: Light vehicle, etc. Space Stations also have general-purpose fighter squadrons (X-Wing, TIE Fighter, and [=StarViper=]) and bomber squadrons (Y-Wing, TIE Bomber, Skipray Blastboat) in on-station hangars, with higher-level ones being able to call in corvettes and even FRIGATES to hyperspace in as reinforcements. ''Forces of Corruption'' also added actual "bunker" buildings that house infantry and non-vehicle hero units.
* ''VideoGame/AgeOfEmpiresII'' has both the buildable kind (towers, castles) and the headquarters kind (town centers). In either case, any unit on foot can be garrisoned, although only workers and archers can attack while inside. Of particular note, towers and castles cannot fire upon adjacent enemies until [[ "murder holes"]] have been researched.
** Production structures could also sort of be garrisoned; units could "stack up" in the building when created, but once they left, they could not re-enter. This was mostly useful when you were being attacked: rather than have your reinforcements file out one by one into the arms of the waiting enemy, you could stock up 10 or 15 and release them all at once, which dramatically improved their chances.
** ''VideoGame/AgeOfMythology'' keeps the buildable and headquarters kind of GarrisonableStructures, and also provides the player with a handy, one click, "Get all my workers into a defensive building!" button. Hitting the same button sends them all back to work after the crisis is over.
* ''VideoGame/HaloWars'' has regular garrisonable cover, as well as garrisonable reactors, which increase your technology level without having a reactor take up a spot on your base.
* In ''VideoGame/AgeOfWonders'' this primarily comes from walled cities and watch tower structures whose only purpose is monitoring a wider range of the map. Terrain such as encampments and old temples (usually evil) and even resource structures can be considered "garrisonable" due to providing cover, the high ground, chokepoints, or beneficial magic effects.
* In the first ''VideoGame/EmpireEarth'' there were several garrisonable structures, it is wise garrisoning them as a certain number of units in them will upgrade the structure.
* In all games in the ''Outfront'' series, (Soldiers: Heroes of World War II, Faces of War and VideoGame/MenOfWar), infantry can take cover behind objects and take up window positions in buildings. In FoW and MoW the silouhette of the infantry squad is show and you can move your mouse about to find the position best suited to you.
* Used in ''VideoGame/{{Blitzkrieg}}'', however certain buildings have 'blind spots', angles that the troops inside cannot see, allowing tanks and artillery to attack with impunity.
* ''VideoGame/AgeOfMythology'' had the Greeks who worship Poseidon get the special ability to have a small group of infantry come out of destroyed buildings to attack the attackers.
* In ''VideoGame/SuddenStrike'', soldiers can enter nearly any structure to provide vision or have some protection. Those structures can be houses, churches, bunker, tower etc. Usually the soldiers die or are at least severely wounded when the structure collapses.
* In ''VideoGame/ActOfWar'', civilian structures can be occupied and are usually quite sturdy. Units aren't immune to damage while garrisoned, though they do get significant shielding. Only hard counters are snipers, who can pick off garrisoned units. Otherwise, you need to blow the hell out of the building or send in units, which tends to be costly.
** The game engine treats buildings simultaneously as objects and terrain, meaning units can not only be garrisoned inside, but also be placed ''on top'' of buildings. Put some snipers on the roof, you got a sniper's nest. Some AA troopers, and you got a quick warning against enemy flyers. Find a large enough building and fly in some artillery on top, and you got an artillery post. Put all aforementioned units on the roof, add some repair/medical units, and you got a nice little forward base vulnerable only to superweapons.
* The Sixth Edition rules for ''TabletopGame/{{Warhammer 40000}}'' lays out standard rules for using pre-placed terrain features as garrisonable structures (based on the existed transport vehicle rules). Although in shooting the troops themselves cannot be targeted (only the building, although substantial damage to the building may cause part of it to collapse, harming soldiers inside), there are extensive rules on how to assault a defended structure with your own troops. All manner of special rules were written to cover various special cases, including battlements, multi-segment structures, emplaced weapons, and even using a flamethrower on a building's occupants.
* In ''TabletopGame/AdvancedSquadLeader'', seeking cover in buildings is a core mechanic (Type 1), and some scenarios allow pillboxes to be placed before play starts (Type 2). They only make troops inside them harder to hit, though. Demolition Charges and Flamethrowers counter their defensive bonuses.
* ''VideoGame/{{Outpost 2}}'' doesn't actually ''have'' infantry units, but includes a structure where vehicles can be garrisoned for repairs and to keep them out of the way of enemy gunfire until they're needed.
* Both ''VideoGame/{{WarWind}}'' games are an example of type 3. Almost all building have space for at least one unit to hide inside. Since the enemy cannot hurt you unless he destroys the entire structure, hiding weaker units like workers is a useful tactic while defending your base. However, mounted troops and some special units are just too large too seek shelter inside a building.
* ''VideoGame/SidMeiersAlphaCentauri'' has bunkers available as a tile improvement. Normally destroying a unit will also damage all others in the same tile. Bunkers prevent this splash damage as well as provide a defense bonus. A tile with a bunker, forest, and sensor array is the strongest combination of defense bonus GeoEffects that can exist on a single square and makes for a very tough stronghold.
* ''{{VideoGame/Foxhole}}'' has aptly named "garrisoned houses" are large houses that exist within towns, wrecked from previous battles and needing to be rebuilt with a construction vehicle. Once rebuilt they'll function as a SentryGun when near a TunnelNetwork or players can pile inside to fire on enemies from cover, including heavy machine gunners.