Age of Empires Keyboard Shortcuts: Complete Guide for AoE2, AoE3 & AoE4 (2026)

If you are still clicking through menus in Age of Empires, you are losing time you cannot afford to lose. In a real-time strategy game where every second of idle villagers, delayed unit production, or slow army response costs you resources and map control, keyboard shortcuts are not optional they are the difference between winning and losing.

This guide covers every keyboard shortcut and hotkey for Age of Empires 2 Definitive Edition, Age of Empires 3, and Age of Empires 4 over 140 shortcuts in total, organized by game version, category, and priority. Whether you are a beginner learning your first five hotkeys or an intermediate player trying to build a consistent TC–Army loop, everything you need is here.

What Are Age of Empires Keyboard Shortcuts?

Age of Empires keyboard shortcuts (also called hotkeys) are single-key or key-combination commands that let players perform in-game actions like creating units, selecting buildings, or managing control groups without using the mouse. Using hotkeys is the fastest way to increase your APM (actions per minute) and is considered essential for competitive play. This guide covers all shortcuts for AoE2 Definitive Edition, AoE3, and AoE4, plus tips to memorize them fast.

Who This Guide Is For

  • Beginners: Start with the Top 10 Most Important Shortcuts section five hotkeys is all you need to get started.
  • Intermediate players: Jump to the Control Groups section to build the TC–Army loop that separates average players from good ones.
  • Returning players: Check the AoE2 Definitive Edition section the QWERTY grid layout introduced in DE is different from the original game’s classic layout.
  • Competitive players: See the How to Customize Hotkeys section for pro player setups and downloadable profiles.

Age of Empires 2 Definitive Edition Keyboard Shortcuts (AoE2 DE)

Age of Empires 2: Definitive Edition (released 2019 by Xbox Game Studios) is the most-played version of the franchise on Steam. Using hotkeys in AoE2 DE is not optional at competitive levels pro players like TheViper and Hera average 150–250 APM, nearly all driven by hotkeys. The sections below cover every default shortcut category.

AoE2 DE – Game Controls & Camera

ActionShortcut
Go to Town CenterH
Select all Town CentersCtrl + Shift + H
Find idle villager. (period)
Select all idle villagersCtrl + . (period)
Pause gameF3
Quick saveF11
Quick loadF12
Display diplomacyCtrl + D
Display objectivesF4
Chat / send messageEnter
ResignCtrl + Alt + F4
ScreenshotF12

AoE2 DE – Control Groups

Control groups are the most impactful hotkey system in Age of Empires 2. Assign any units or buildings to a number, then recall them instantly mid-fight without losing camera focus on your army.

ActionShortcut
Assign selected units to group 1–9Ctrl + 1–9
Add selected units to existing groupShift + 1–9
Select group (single click)1–9
Select group + center cameraDouble-tap 1–9

AoE2 DE – Building Selection (Go To)

Press the key once to cycle to a single building of that type. Use Ctrl + Shift + key to select all buildings of that type at once.

BuildingGo To (Single)Select All
Town CenterHCtrl + Shift + H
BarracksCtrl + BCtrl + Shift + B
Archery RangeCtrl + ACtrl + Shift + A
StableCtrl + LCtrl + Shift + L
Siege WorkshopCtrl + KCtrl + Shift + K
CastleCtrl + VCtrl + Shift + V
BlacksmithCtrl + SCtrl + Shift + S
UniversityCtrl + UCtrl + Shift + U
MonasteryCtrl + YCtrl + Shift + Y
MillCtrl + ICtrl + Shift + I
Lumber CampCtrl + ZCtrl + Shift + Z
Mining CampCtrl + GCtrl + Shift + G
MarketCtrl + MCtrl + Shift + M
DockCtrl + DCtrl + Shift + D

AoE2 DE – Villager Build Commands

Select a villager, then press Q to open the economic build menu or W to open the military build menu, followed by the building key. This is the QWERTY grid layout unique to the Definitive Edition.

ActionShortcut
Open economic buildings menuQ (with villager selected)
Open military buildings menuW (with villager selected)
Build HouseQ → E
Build MillQ → Q
Build Lumber CampQ → W
Build Mining CampQ → R
Build FarmQ → A
Build Town CenterQ → Z
Build BarracksW → Q
Build Archery RangeW → W
Build StableW → E
Build Siege WorkshopW → R
Build CastleW → A
Build Palisade WallW → S
Build Stone WallW → D
RepairR

AoE2 DE – Unit Commands (Grid Layout)

ActionShortcut
Create villager (from TC)Q
Research Loom (from TC)W
Research Town WatchE
Attack moveA
StopS
PatrolZ
GuardT
FollowF
Aggressive stanceQ (unit selected)
Defensive stanceW (unit selected)
Stand groundE (unit selected)
No attack stanceR (unit selected)
Select all visible units of same typeCtrl + Click
Queue 5 units at onceShift + production key

AoE2 DE – Military Building Unit Creation

BuildingUnitShortcut
BarracksMilitia / Man-at-ArmsQ
BarracksSpearmanW
BarracksEagle Scout (Mesoamerican civs)E
Archery RangeArcherQ
Archery RangeSkirmisherW
Archery RangeCavalry ArcherE
StableScout CavalryQ
StableKnightW
StableCamel RiderE
Siege WorkshopBattering RamQ
Siege WorkshopMangonelW
Siege WorkshopScorpionE
Siege WorkshopSiege TowerR
MonasteryMonkQ

To customize your AoE2 DE hotkeys, go to Options → Hotkeys in the main menu. Your hotkey profile is saved at %userprofile%\Games\Age of Empires 2 DE[your Steam ID]\profile. You can back it up, share it, or download pro player presets (TheViper, Hera) from the community.

Age of Empires 3 Keyboard Shortcuts (AoE3)

Age of Empires III and Age of Empires III: Definitive Edition share the same core hotkey system. The shortcuts below cover all default key bindings across game controls, building navigation, and every unit creation building in the game. Use Shift + unit key to create 5 units at once from any production building.

AoE3 – Game Control Shortcuts

ActionShortcut
Center on selectionSpacebar
Display detail on selected unitAlt
Delete selected unit / buildingDelete
Pause gamePause
Toggle Home City viewH
Group selected unitsCtrl + 1–9
Add unit to group 1–9Shift + 1–9
Select group (double-tap centers camera)1–9
Display improvementsF2
Display objectivesF3
Display player scoreF4
Display chat menuF5
Display tribute menuF6
Display player summaryF7
Quick saveF8
Quick loadF9
Display in-game menuF10
Display game timeF11
ScreenshotCtrl + F12

AoE3 – Find Building Shortcuts

BuildingShortcut
Town CenterT
Barracks / BlockhouseCtrl + B
ChurchCtrl + C
DockCtrl + D
Artillery DepotCtrl + A
MillCtrl + I
BankCtrl + K
PlantationCtrl + I
MarketCtrl + M
HouseCtrl + E
Trading PostCtrl + P
Field HospitalCtrl + Q
ArsenalCtrl + R
StableCtrl + S
OutpostCtrl + O
Livestock PenCtrl + V
Wall ConnectorCtrl + W
FactoryCtrl + Y
CapitolCtrl + Z
Fort / FrontierCtrl + F

AoE3 – Trading Post Unit Create Shortcuts

All unit creation keys below apply when the Trading Post is selected. Add Shift to create 5 units at once.

UnitCreate 1Create 5
Native Axe RiderRShift + R
Native Axe Rider / Dog SoldierDShift + D
Native Blackwood ArcherBShift + B
Native Blowgun WarriorGShift + G
Native Bolas WarriorWShift + W
Native ClubmanCShift + C
Native Eagle WarriorEShift + E
Native Holcan SpearmanSShift + S
Native HuamincaNShift + N
Native Jaguar WarriorJShift + J
Native Medicine ManPShift + P
Native MantletMShift + M
Native RiflemanFShift + F
Native Sharktooth BowmanOShift + O
Native TomahawkXShift + X
Native Horse ArcherEShift + E
Native TrackerKShift + K

AoE3 – Artillery Depot Unit Create Shortcuts

UnitCreate 1Create 5
FalconetFShift + F
CulverinCShift + C
MortarMShift + M
GrenadierGShift + G
Organ GunOShift + O
Abus GunBShift + B

AoE3 – Barracks Unit Create Shortcuts

UnitCreate 1Create 5
CrossbowmanXShift + X
LongbowmanIShift + I
JanissaryJShift + J
PikemanPShift + P
HalberdierBShift + B
MusketeerMShift + M
SkirmisherSShift + S
RodeleroRShift + R
CaçadorEShift + E
DoppelsöldnerDShift + D

AoE3 – Fort Unit Create Shortcuts

UnitCreate 1Create 5
MusketeerMShift + M
FalconetFShift + F
CulverinCShift + C
MortarTShift + T

AoE3 – Stable Unit Create Shortcuts

UnitCreate 1Create 5
HussarSShift + S
DragoonDShift + D
OprichnikOShift + O
Cavalry ArcherAShift + A
CuirassierCShift + C
RuyterRShift + R
War WagonWShift + W
LancerIShift + I
CossackXShift + X
UhlanUShift + U

AoE3 – Blockhouse Unit Create Shortcuts

UnitCreate 1Create 5
StreletSShift + S
HalberdierBShift + B
MusketeerMShift + M

AoE3 – Dock Unit Create Shortcuts

UnitCreate 1Create 5
Fishing BoatFShift + F
CaravelCShift + C
GalleonFShift + G
FrigateRShift + R
MonitorMShift + M
FluytYShift + Y
GalleyIShift + I
CanoeEShift + E

The Shift + unit key pattern applies across every production building in AoE3 memorize it once and it works everywhere. To customize AoE3 hotkeys, go to Options → Keyboard from the main menu. Note that AoE3 has more limited remapping options compared to AoE2 DE and AoE4.

Age of Empires 4 Keyboard Shortcuts (AoE4)

Age of Empires IV (2021, developed by Relic Entertainment and published by Xbox Game Studios) supports fully remappable hotkeys and multiple saved profiles making it the most flexible hotkey system in the franchise.

AoE4 – Unit Selection & Management

ActionShortcut
Select all units on screenCtrl + A
Select all units on mapCtrl + Shift + A
Cycle idle economy units. (period) / N
Select all idle villagersCtrl + . / Ctrl + ↑
Select all villagersCtrl + Shift + V / ↑
Return all villagers to workCtrl + Shift + R / PgUp
Cycle idle military units, (comma) / ↓
Select all idle militaryCtrl + , / Ctrl + ↓
Select all military unitsCtrl + Shift + C / Ctrl + M
Assign control group 0–9Ctrl + 0–9
Select control group 0–90–9
Add to control groupShift + 0–9

AoE4 – Camera & Map Navigation

ActionShortcut
Center on selectionSpacebar
Toggle minimapZ
Rotate camera leftQ
Rotate camera rightE
Zoom inMouse wheel up
Zoom outMouse wheel down
Jump to last alert/eventSpacebar (when alert fires)

AoE4 – Unit Commands

ActionShortcut
Attack moveA
StopS
Hold positionH
PatrolP
GarrisonG
Pack / unpack (siege)T
Delete selected unitDelete
Queue 5 unitsShift + production key
Cancel last queued unitRight-click production button

AoE4 – Building & Economy

ActionShortcut
Town CenterH
Build economic buildingB then building key
Build military buildingV then building key
Toggle minimap pingsAlt + click minimap
Place building (confirm)Left-click
Rotate buildingMiddle mouse / R
Cancel build placementEsc / Right-click

AoE4 – Game & Interface

ActionShortcut
Pause (single-player)F3
Open in-game menuEsc / F10
Toggle resource panelTab
Open chatEnter
Toggle score screenF5
Quick saveF6
Quick loadF7
ScreenshotF12

AoE4 is the only Age of Empires game that supports multiple saved hotkey profiles. Go to Settings → Controls → View and Remap Controls to create custom profiles for different playstyles. Some civilizations (like the Holy Roman Empire) have unique building actions always check in-game tooltips for civ-specific keys.

Download the Age of Empires Shortcuts PDF

Want all of these shortcuts in a single printable reference? Download the free Age of Empires Shortcuts PDF it includes every shortcut from this guide for AoE2 DE, AoE3, and AoE4, formatted as a clean one-page cheatsheet you can keep next to your screen while playing.

Control Groups in Age of Empires: The Most Important Shortcut System

If there is one hotkey system worth mastering before all others in Age of Empires, it is control groups. Every top-ranked player from TheViper in AoE2 to competitive AoE4 players builds their entire gameplay rhythm around control groups. Here is exactly how they work and how to use them like a pro.

What Are Control Groups?

A control group is a saved selection of units or buildings assigned to a number key (0–9). Once assigned, you can instantly select and jump to that group at any point in the game no matter where your camera is with a single keypress.

How to Set and Use Control Groups (All Versions)

ActionShortcutWhat it does
Assign groupCtrl + 1–9Saves current selection to that number
Add units to groupShift + 1–9Adds selection to existing group without replacing
Select group1–9 (single tap)Selects the group, camera stays where it is
Select + center camera1–9 (double tap)Selects group AND jumps camera to their location

The Pro Control Group Setup (Recommended for Beginners)

This is the setup most intermediate and advanced players use. It is not the only correct approach, but it is the most widely recommended starting point:

GroupAssign toWhy
Group 1Main armyMost-used group tap 1 to select your army instantly
Group 2Secondary army / siegeLets you split and manage two forces independently
Group 3Scout / scout cavalryTap 3 to jump to your scout during early exploration
Group 4All Town CentersSingle-tap to queue villagers without losing army view
Group 5All military production buildingsQueue units from all barracks/stables at once

The TC–Army Loop: Core Skill of Advanced Players

The most important mechanical habit in Age of Empires 2 and AoE4 is the TC–Army loop a rhythm of alternating between checking your Town Center and checking your army, so neither ever sits idle. Here is how it works:

  1. Tap 4 (Town Center group) → press villager creation key (C in AoE2) to queue a villager
  2. Tap 1 (army group) → check the fight, issue orders
  3. Tap 4 again → queue another villager if the last one finished
  4. Tap . (period) → check for any idle villagers
  5. Repeat every 15–20 seconds throughout the game

The single-tap (no camera switch) is the key technique here: tapping 4 once selects your Town Center without moving your camera off the battle, so you can queue production while watching the fight. This is impossible to do efficiently with mouse clicks alone.

Shift-Queuing with Control Groups

Holding Shift while issuing commands queues multiple actions in sequence. Combined with control groups, this unlocks powerful multi-tasking:

  • Queue 5 units at once: Select a production building → hold Shift → press the unit key 5 times. Each press queues one additional unit.
  • Queue villager tasks: Select a villager → hold Shift → right-click lumber camp, then farm, then mine. The villager completes each task in order.
  • Queue buildings: Select a villager → hold Shift → place multiple building foundations in sequence. The villager builds them one after another automatically.

Beginner tip: Do not try to set up all five control groups from the start. In your first 10 games, focus on just two: assign your army to group 1 (Ctrl+1) and your Town Center to group 4 (Ctrl+4). Master those two before adding more.

How to Customize Hotkeys in Age of Empires (All Versions)

Every version of Age of Empires lets you remap hotkeys to suit your playstyle. Here is exactly how to do it in each game, plus what the best players recommend changing first.

How to Customize Hotkeys in AoE2 Definitive Edition

  1. Launch Age of Empires 2: Definitive Edition
  2. From the main menu, click Options
  3. Click the Hotkeys tab
  4. On the left panel, select the category you want to edit (e.g. Game Commands, Town Center, Barracks)
  5. Click the action you want to remap
  6. Press your desired new key
  7. Click Save before closing

Where are AoE2 DE hotkey files stored? Your profile and hotkey settings are saved at: %userprofile%\Games\Age of Empires 2 DE[Steam ID]\profile\

You can back up this folder, copy it to another PC, or download community hotkey presets (.hki files) from sites like ageofnotes.com and drop them directly into this folder.

How to Customize Hotkeys in Age of Empires 3

  1. Launch Age of Empires III
  2. From the main menu, click Options
  3. Click the Keyboard tab
  4. Select the category and click the action to rebind
  5. Press your new key and click OK

How to Customize Hotkeys in Age of Empires 4

  1. Launch Age of Empires IV
  2. Click Settings from the main menu
  3. Select Controls
  4. Click View and Remap Controls
  5. Select Common Keys or the specific category
  6. Click any action and press your new key to rebind it
  7. Use the Save Profile option to store multiple setups

AoE4 is the only game in the franchise with named hotkey profiles you can save one profile for casual play and another for competitive ranked matches, then switch between them instantly.

Why Age of Empires Keyboard Shortcuts Matter

In Age of Empires, every second of inaction costs you resources, units, or map control. Pro players like TheViper (ranked #1 globally in AoE2 for multiple years) average 150–250 APM actions per minute almost entirely through hotkeys. Players using keyboard shortcuts consistently outperform mouse-only players because:

  • Speed: Pressing H to jump to your Town Center takes ~0.2 seconds. Scrolling there manually takes 2–4 seconds. Multiplied across a full game, that’s minutes of lost efficiency.
  • Focus: Hotkeys let you manage your economy and army simultaneously without losing sight of either.
  • Control groups: Assigning your army to Ctrl+1 means you can attack on one side of the map while simultaneously queuing villagers from your Town Center the core skill separating intermediate from advanced players.

You don’t need to memorize every shortcut at once. Start with the top 5 Town Center (H), idle villager (.), create villager, control group assign (Ctrl+1), and control group select (1) and add more as they become muscle memory.

Frequently Asked Questions for Age of Empires Shortcuts

What is the most important shortcut in Age of Empires 2?

The idle villager hotkey the period (.) key is widely considered the most important shortcut in Age of Empires 2. It instantly selects your next idle villager so you can put them back to work without losing sight of your army. Pro players check it dozens of times per minute.

How do control groups work in Age of Empires?

Control groups let you assign any units or buildings to a number key (0–9) using Ctrl + number. Press that number once to select the group, twice to center the camera on them. For example: press Ctrl+1 to assign your army to group 1, then tap 1 anytime to select them instantly mid-game. Most pro players assign their Town Center to group 4 or 5 and their main army to group 1.

What is the Town Center shortcut in Age of Empires?

In Age of Empires 2 and AoE3, the shortcut to jump to your Town Center is H. In AoE2 Definitive Edition, pressing H selects a single Town Center and centers the camera on it. To select all Town Centers at once, use Ctrl + Shift + H. This is one of the first hotkeys beginners should memorize.

Can you remap hotkeys in Age of Empires?

Yes. In Age of Empires 2 DE, go to Options → Hotkeys to remap any key. In Age of Empires 4, go to Settings → Controls → View and Remap Controls. AoE4 also supports multiple saved hotkey profiles so you can switch setups instantly. AoE3 has limited remapping through in-game options.

What is the grid/QWERTY hotkey layout in AoE2 Definitive Edition?

The grid layout (also called the QWERTY layout) is a hotkey system introduced in AoE2 Definitive Edition where every building’s action buttons are mapped to match their visual position on screen top-left action = Q, next = W, and so on. This makes hotkeys consistent across all buildings so you don’t need to memorize different keys per building. Most competitive players prefer this layout over the classic setup.

What hotkeys does TheViper use in Age of Empires 2?

TheViper, widely considered the best AoE2 player in the world, uses the classic AoC preset with custom modifications notably setting “Select All Town Centers” and “Select All Military Buildings” to static number keys (rather than Ctrl combinations) so he can queue villagers and units without switching camera view. His approach prioritizes the TC-army rhythm loop above all other hotkeys.

How do I quickly save in Age of Empires 3?

In Age of Empires 3, press F8 to quick save and F9 to quick load. To access the full save menu, press F10 to open the in-game menu. Note that quick save is disabled in multiplayer matches.

How do I memorize Age of Empires shortcuts faster?

The fastest method is to focus on just 5 hotkeys at a time and practice them in single-player skirmishes against the AI before using them in real games. Start with: Town Center (H), idle villager (.), create villager (C), control group assign (Ctrl+1), and control group select (1). Once those are muscle memory usually after 3–5 sessions add the next set. Avoid trying to memorize the full list at once.

Final Thoughts: How to Actually Get Better With Age of Empires Shortcuts

You now have every keyboard shortcut for Age of Empires 2 Definitive Edition, Age of Empires 3, and Age of Empires 4 in one place. But a list means nothing until the keys become muscle memory and that only happens through deliberate, focused practice.

Here is the exact process that works:

  1. Week 1 The Big 5: Pick only five shortcuts from the Top 10 table above. Play 3–5 single-player skirmishes against the AI using only those five. Do not move on until they feel automatic.
  2. Week 2 Add control groups: Assign your army to group 1 (Ctrl+1) and your Town Center to group 4 (Ctrl+4). Practice the TC–Army loop every game tap 4, queue villager, tap 1, manage army, repeat.
  3. Week 3 Building shortcuts: Add the Go To shortcuts for your two most-used military buildings. If you play AoE2 DE, this is usually Barracks (Ctrl+B) and Stable (Ctrl+L).
  4. Week 4 and beyond: Each week, identify the one action in your games that still requires a mouse click you wish was a hotkey. Add only that one. Stack slowly.

READ NEXT:

Pratik

Pratik is the founder of Tutorial Tactic and a productivity tools specialist with 15 years of hands-on experience in Google Workspace, Microsoft Office, and software automation. He has published over 1,500 guides on keyboard shortcuts, software commands, how-to tutorials and workflow optimization, helping readers across the US and India work faster with the tools they use every day. Tutorial Tactic was founded in 2021 with one goal: cut through the noise and give readers exactly what they need fast, verified, and beginner-friendly.
Back to top button