How Do I Create My First World of Warcraft Macro?
Updated
Open the macro window from the computer icon on your main bar, click the macros button, pick the character-specific or general tab, then choose an icon, name the macro, and type your commands into the editor. Save it and drag the macro onto an action bar button to test. A macro is a series of commands assigned to one button, so it can combine several actions into a single click or keypress — but it stops as soon as a spell or ability triggers the Global Cooldown.
What a Macro Actually Does
A macro is a sequence of slash commands bound to a toolbar button, working like a spell you press. The main reasons to use one:
- Save action bar space by combining multiple actions into one button.
- Act without switching targets — focus macros let you act on a focus target while keeping your current one.
- Automate non-combat tasks, such as repeating a chat message without retyping it.
The key limit: commands run in order, and the macro halts if a spell or ability on the Global Cooldown is used. Plan your command order around that.
Step by Step: Your First Macro
- Open the macro window. Click the computer icon on your main bar, then the macros button. The create macro window appears.
- Choose a tab. Select whether the macro will be character-specific or general at the top of the window.
- Pick an icon and name. Choose an icon from the grid and enter a name for the macro.
- Write your commands in the macro editor. Start each command on its own line.
- Save the macro, then drag it from the macro window onto an action bar button.
- Test it by pressing the button and checking that each command behaves as expected.
Spacing and Naming Rules
Only use a space after the command and in the names of spells that consist of multiple words. A misspelled or wrongly spaced spell name is the most common reason a macro silently fails to cast anything — if your macro does nothing, check the spelling and spacing first.
A Simple Example
A basic macro that casts a spell and then says something in chat looks like this:
/cast Fireball
/say Casting Fireball!
The /cast line fires the spell; the /say line runs after it. If the spell is on the Global Cooldown when you press the button, the macro stops there and the chat line won't run — that's the Global Cooldown rule in practice.
Where to Go Next
Once your first macro works, explore conditionals and more commands to build focus macros and utility macros. The site organizes ready-made macros by class — Death Knight, Demon Hunter, Druid, Hunter, Mage, Monk, Paladin, Priest, Rogue, Shaman, Warlock, Warrior, and Evoker — alongside a General Macros page covering commands and conditionals, plus Classic macros. Bookmark the site if you want to check back as new macros are added regularly.