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
| Action | Shortcut |
|---|---|
| Go to Town Center | H |
| Select all Town Centers | Ctrl + Shift + H |
| Find idle villager | . (period) |
| Select all idle villagers | Ctrl + . (period) |
| Pause game | F3 |
| Quick save | F11 |
| Quick load | F12 |
| Display diplomacy | Ctrl + D |
| Display objectives | F4 |
| Chat / send message | Enter |
| Resign | Ctrl + Alt + F4 |
| Screenshot | F12 |
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.
| Action | Shortcut |
|---|---|
| Assign selected units to group 1–9 | Ctrl + 1–9 |
| Add selected units to existing group | Shift + 1–9 |
| Select group (single click) | 1–9 |
| Select group + center camera | Double-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.
| Building | Go To (Single) | Select All |
|---|---|---|
| Town Center | H | Ctrl + Shift + H |
| Barracks | Ctrl + B | Ctrl + Shift + B |
| Archery Range | Ctrl + A | Ctrl + Shift + A |
| Stable | Ctrl + L | Ctrl + Shift + L |
| Siege Workshop | Ctrl + K | Ctrl + Shift + K |
| Castle | Ctrl + V | Ctrl + Shift + V |
| Blacksmith | Ctrl + S | Ctrl + Shift + S |
| University | Ctrl + U | Ctrl + Shift + U |
| Monastery | Ctrl + Y | Ctrl + Shift + Y |
| Mill | Ctrl + I | Ctrl + Shift + I |
| Lumber Camp | Ctrl + Z | Ctrl + Shift + Z |
| Mining Camp | Ctrl + G | Ctrl + Shift + G |
| Market | Ctrl + M | Ctrl + Shift + M |
| Dock | Ctrl + D | Ctrl + 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.
| Action | Shortcut |
|---|---|
| Open economic buildings menu | Q (with villager selected) |
| Open military buildings menu | W (with villager selected) |
| Build House | Q → E |
| Build Mill | Q → Q |
| Build Lumber Camp | Q → W |
| Build Mining Camp | Q → R |
| Build Farm | Q → A |
| Build Town Center | Q → Z |
| Build Barracks | W → Q |
| Build Archery Range | W → W |
| Build Stable | W → E |
| Build Siege Workshop | W → R |
| Build Castle | W → A |
| Build Palisade Wall | W → S |
| Build Stone Wall | W → D |
| Repair | R |
AoE2 DE – Unit Commands (Grid Layout)
| Action | Shortcut |
|---|---|
| Create villager (from TC) | Q |
| Research Loom (from TC) | W |
| Research Town Watch | E |
| Attack move | A |
| Stop | S |
| Patrol | Z |
| Guard | T |
| Follow | F |
| Aggressive stance | Q (unit selected) |
| Defensive stance | W (unit selected) |
| Stand ground | E (unit selected) |
| No attack stance | R (unit selected) |
| Select all visible units of same type | Ctrl + Click |
| Queue 5 units at once | Shift + production key |
AoE2 DE – Military Building Unit Creation
| Building | Unit | Shortcut |
|---|---|---|
| Barracks | Militia / Man-at-Arms | Q |
| Barracks | Spearman | W |
| Barracks | Eagle Scout (Mesoamerican civs) | E |
| Archery Range | Archer | Q |
| Archery Range | Skirmisher | W |
| Archery Range | Cavalry Archer | E |
| Stable | Scout Cavalry | Q |
| Stable | Knight | W |
| Stable | Camel Rider | E |
| Siege Workshop | Battering Ram | Q |
| Siege Workshop | Mangonel | W |
| Siege Workshop | Scorpion | E |
| Siege Workshop | Siege Tower | R |
| Monastery | Monk | Q |
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
| Action | Shortcut |
|---|---|
| Center on selection | Spacebar |
| Display detail on selected unit | Alt |
| Delete selected unit / building | Delete |
| Pause game | Pause |
| Toggle Home City view | H |
| Group selected units | Ctrl + 1–9 |
| Add unit to group 1–9 | Shift + 1–9 |
| Select group (double-tap centers camera) | 1–9 |
| Display improvements | F2 |
| Display objectives | F3 |
| Display player score | F4 |
| Display chat menu | F5 |
| Display tribute menu | F6 |
| Display player summary | F7 |
| Quick save | F8 |
| Quick load | F9 |
| Display in-game menu | F10 |
| Display game time | F11 |
| Screenshot | Ctrl + F12 |
AoE3 – Find Building Shortcuts
| Building | Shortcut |
|---|---|
| Town Center | T |
| Barracks / Blockhouse | Ctrl + B |
| Church | Ctrl + C |
| Dock | Ctrl + D |
| Artillery Depot | Ctrl + A |
| Mill | Ctrl + I |
| Bank | Ctrl + K |
| Plantation | Ctrl + I |
| Market | Ctrl + M |
| House | Ctrl + E |
| Trading Post | Ctrl + P |
| Field Hospital | Ctrl + Q |
| Arsenal | Ctrl + R |
| Stable | Ctrl + S |
| Outpost | Ctrl + O |
| Livestock Pen | Ctrl + V |
| Wall Connector | Ctrl + W |
| Factory | Ctrl + Y |
| Capitol | Ctrl + Z |
| Fort / Frontier | Ctrl + 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.
| Unit | Create 1 | Create 5 |
|---|---|---|
| Native Axe Rider | R | Shift + R |
| Native Axe Rider / Dog Soldier | D | Shift + D |
| Native Blackwood Archer | B | Shift + B |
| Native Blowgun Warrior | G | Shift + G |
| Native Bolas Warrior | W | Shift + W |
| Native Clubman | C | Shift + C |
| Native Eagle Warrior | E | Shift + E |
| Native Holcan Spearman | S | Shift + S |
| Native Huaminca | N | Shift + N |
| Native Jaguar Warrior | J | Shift + J |
| Native Medicine Man | P | Shift + P |
| Native Mantlet | M | Shift + M |
| Native Rifleman | F | Shift + F |
| Native Sharktooth Bowman | O | Shift + O |
| Native Tomahawk | X | Shift + X |
| Native Horse Archer | E | Shift + E |
| Native Tracker | K | Shift + K |
AoE3 – Artillery Depot Unit Create Shortcuts
| Unit | Create 1 | Create 5 |
|---|---|---|
| Falconet | F | Shift + F |
| Culverin | C | Shift + C |
| Mortar | M | Shift + M |
| Grenadier | G | Shift + G |
| Organ Gun | O | Shift + O |
| Abus Gun | B | Shift + B |
AoE3 – Barracks Unit Create Shortcuts
| Unit | Create 1 | Create 5 |
|---|---|---|
| Crossbowman | X | Shift + X |
| Longbowman | I | Shift + I |
| Janissary | J | Shift + J |
| Pikeman | P | Shift + P |
| Halberdier | B | Shift + B |
| Musketeer | M | Shift + M |
| Skirmisher | S | Shift + S |
| Rodelero | R | Shift + R |
| Caçador | E | Shift + E |
| Doppelsöldner | D | Shift + D |
AoE3 – Fort Unit Create Shortcuts
| Unit | Create 1 | Create 5 |
|---|---|---|
| Musketeer | M | Shift + M |
| Falconet | F | Shift + F |
| Culverin | C | Shift + C |
| Mortar | T | Shift + T |
AoE3 – Stable Unit Create Shortcuts
| Unit | Create 1 | Create 5 |
|---|---|---|
| Hussar | S | Shift + S |
| Dragoon | D | Shift + D |
| Oprichnik | O | Shift + O |
| Cavalry Archer | A | Shift + A |
| Cuirassier | C | Shift + C |
| Ruyter | R | Shift + R |
| War Wagon | W | Shift + W |
| Lancer | I | Shift + I |
| Cossack | X | Shift + X |
| Uhlan | U | Shift + U |
AoE3 – Blockhouse Unit Create Shortcuts
| Unit | Create 1 | Create 5 |
|---|---|---|
| Strelet | S | Shift + S |
| Halberdier | B | Shift + B |
| Musketeer | M | Shift + M |
AoE3 – Dock Unit Create Shortcuts
| Unit | Create 1 | Create 5 |
|---|---|---|
| Fishing Boat | F | Shift + F |
| Caravel | C | Shift + C |
| Galleon | F | Shift + G |
| Frigate | R | Shift + R |
| Monitor | M | Shift + M |
| Fluyt | Y | Shift + Y |
| Galley | I | Shift + I |
| Canoe | E | Shift + 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
| Action | Shortcut |
|---|---|
| Select all units on screen | Ctrl + A |
| Select all units on map | Ctrl + Shift + A |
| Cycle idle economy units | . (period) / N |
| Select all idle villagers | Ctrl + . / Ctrl + ↑ |
| Select all villagers | Ctrl + Shift + V / ↑ |
| Return all villagers to work | Ctrl + Shift + R / PgUp |
| Cycle idle military units | , (comma) / ↓ |
| Select all idle military | Ctrl + , / Ctrl + ↓ |
| Select all military units | Ctrl + Shift + C / Ctrl + M |
| Assign control group 0–9 | Ctrl + 0–9 |
| Select control group 0–9 | 0–9 |
| Add to control group | Shift + 0–9 |
AoE4 – Camera & Map Navigation
| Action | Shortcut |
|---|---|
| Center on selection | Spacebar |
| Toggle minimap | Z |
| Rotate camera left | Q |
| Rotate camera right | E |
| Zoom in | Mouse wheel up |
| Zoom out | Mouse wheel down |
| Jump to last alert/event | Spacebar (when alert fires) |
AoE4 – Unit Commands
| Action | Shortcut |
|---|---|
| Attack move | A |
| Stop | S |
| Hold position | H |
| Patrol | P |
| Garrison | G |
| Pack / unpack (siege) | T |
| Delete selected unit | Delete |
| Queue 5 units | Shift + production key |
| Cancel last queued unit | Right-click production button |
AoE4 – Building & Economy
| Action | Shortcut |
|---|---|
| Town Center | H |
| Build economic building | B then building key |
| Build military building | V then building key |
| Toggle minimap pings | Alt + click minimap |
| Place building (confirm) | Left-click |
| Rotate building | Middle mouse / R |
| Cancel build placement | Esc / Right-click |
AoE4 – Game & Interface
| Action | Shortcut |
|---|---|
| Pause (single-player) | F3 |
| Open in-game menu | Esc / F10 |
| Toggle resource panel | Tab |
| Open chat | Enter |
| Toggle score screen | F5 |
| Quick save | F6 |
| Quick load | F7 |
| Screenshot | F12 |
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)
| Action | Shortcut | What it does |
|---|---|---|
| Assign group | Ctrl + 1–9 | Saves current selection to that number |
| Add units to group | Shift + 1–9 | Adds selection to existing group without replacing |
| Select group | 1–9 (single tap) | Selects the group, camera stays where it is |
| Select + center camera | 1–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:
| Group | Assign to | Why |
|---|---|---|
| Group 1 | Main army | Most-used group tap 1 to select your army instantly |
| Group 2 | Secondary army / siege | Lets you split and manage two forces independently |
| Group 3 | Scout / scout cavalry | Tap 3 to jump to your scout during early exploration |
| Group 4 | All Town Centers | Single-tap to queue villagers without losing army view |
| Group 5 | All military production buildings | Queue 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:
- Tap 4 (Town Center group) → press villager creation key (C in AoE2) to queue a villager
- Tap 1 (army group) → check the fight, issue orders
- Tap 4 again → queue another villager if the last one finished
- Tap . (period) → check for any idle villagers
- 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
- Launch Age of Empires 2: Definitive Edition
- From the main menu, click Options
- Click the Hotkeys tab
- On the left panel, select the category you want to edit (e.g. Game Commands, Town Center, Barracks)
- Click the action you want to remap
- Press your desired new key
- 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
- Launch Age of Empires III
- From the main menu, click Options
- Click the Keyboard tab
- Select the category and click the action to rebind
- Press your new key and click OK
How to Customize Hotkeys in Age of Empires 4
- Launch Age of Empires IV
- Click Settings from the main menu
- Select Controls
- Click View and Remap Controls
- Select Common Keys or the specific category
- Click any action and press your new key to rebind it
- 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:
- 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.
- 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.
- 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).
- 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:





