The fastest way to turn in a quest in World of Warcraft is to use the default interaction key (usually F or right-click) on the NPC. There is no built-in macro that automatically completes a quest, because Blizzard blocks macros from performing quest hand-ins to prevent automation. However, you can use a macro to target the quest giver and interact with them, which effectively reduces the hand-in to one button press.
Why Blizzard Blocks Quest Turn-In Macros
World of Warcraft’s macro system is intentionally limited. The /run and /script commands can call certain API functions, but Blizzard has locked down quest-related functions like CompleteQuest() and GetQuestLogSelection() to prevent botting. Since the game’s early days, players have tried to automate questing, and Blizzard has consistently patched out any loophole that allows a macro to accept or complete a quest without player input. This is why you won’t find a working /run CompleteQuest() macro—it simply doesn’t exist in the live game.
What a Quest Turn-In Macro Can Actually Do
You can create a macro that targets the quest NPC and interacts with them, which opens the quest dialog. From there, you still need to click the “Turn In” button (or press a keybind). Here’s a simple macro that works in modern WoW (Retail and Classic):
/targetexact "NPC Name"
/run InteractUnit("target")
Replace NPC Name with the exact name of the quest giver. This macro will target the NPC and initiate interaction. If you want to also accept a follow-up quest, you’d need to click the accept button manually. Some players bind this macro to a mouse wheel or a side button for faster farming.
How to Set Up a Quest Turn-In Macro
To create a macro in WoW, open the Macro interface by typing /macro or pressing Esc and selecting “Macros.” Then follow these steps:
- Click “New” and give your macro a name (e.g., “TurnIn”).
- Choose an icon (the question mark icon works fine).
- Paste the macro text into the edit box.
- Click “Save” and drag the macro icon onto your action bar.
- Assign a keybind via the Key Bindings menu (e.g.,
Shift+F).
On Mac, the process is identical; the keybind options are the same. If you’re using an addon like Bartender or Dominos, you can also drag the macro onto a bar there.
Using Addons to Speed Up Quest Hand-Ins
While macros are limited, addons can provide more automation. Popular questing addons like Questie (for Classic) or Immersion (for Retail) don’t auto-complete quests, but they streamline the interface. For example, Immersion replaces the default quest dialog with a large, clickable button that you can click quickly. Some addons like Leatrix Plus include an option to “Automatically turn in quests”—but this only works if the addon uses the protected functions that Blizzard allows, and it still requires you to interact with the NPC. In practice, no addon can fully bypass the manual click, but they reduce the number of clicks needed.
Common Problems and Misconceptions
One common misconception is that a macro can complete a quest by using /click QuestFrameCompleteButton. This does not work because the quest frame’s buttons are protected from macro clicks. Another issue is that /targetexact requires the exact NPC name; if you misspell it, the macro does nothing. Also, in dungeons or raids, NPCs may have the same name but different IDs, so the macro might target the wrong one. Finally, some players expect a macro to work while mounted or in combat—interaction is disabled in combat, so you must dismount and be out of combat first.
Comparing Macro vs. Addon vs. Keybind
If you’re deciding how to speed up quest turn-ins, here’s a quick comparison:
- Macro: Free, built-in, but only targets and interacts—still requires one click on the turn-in button.
- Addon (Immersion): Larger buttons, faster mouse movement, but still one click per quest.
- Keybind to interact: Set
Interact with Targetto a key (defaultF) and use it after targeting—same effect as the macro, but no macro needed.
For pure speed, the best approach is to bind Interact with Target to a convenient key and also bind Turn In (if you use an addon that supports it) to a nearby key. In the default UI, there’s no keybind for the turn-in button, but you can click it quickly after the dialog opens.
Safety and Fair Use
Using macros to interact with quest NPCs is completely safe and allowed by Blizzard’s terms of service. However, any macro or addon that attempts to automate quest completion (e.g., automatically clicking turn-in without your input) violates the rules and can result in a ban. Blizzard’s anti-cheat system detects repeated automated actions. Stick to macros that simply target and interact—these are considered quality-of-life tools, not automation.
Frequently Asked Questions
Can I write a macro that turns in all quests at once? No. Blizzard blocks any API call that would complete multiple quests simultaneously. You must interact with each NPC individually.
Does the macro work in WoW Classic? Yes, the /targetexact and InteractUnit commands work in Classic Era, Wrath Classic, and Cataclysm Classic. The exact NPC name is case-sensitive, so copy it from the quest log.
Why does my macro sometimes target a player instead of the NPC? If another player has the same name as the NPC, /targetexact might pick the player. Use /targetexact with the NPC’s name and add /run if UnitIsPlayer("target") then ClearTarget() end to ignore players.
Is there a way to auto-accept follow-up quests? No, but you can use an addon like AutoQuest (Classic) that automatically accepts and turns in quests when you talk to an NPC—but that addon is often flagged as automation, and Blizzard has restricted its functionality. Use at your own risk.
Can I bind the turn-in button to a key? In the default UI, no. But addons like Questie or Immersion allow you to keybind the turn-in action. For example, in Immersion, you can set a keybind for “Complete Quest” in its options.
Does this macro work for flight paths or vendors? Yes, the same macro can target and interact with any NPC, including flight masters and vendors. Just change the NPC name.
Related
- Auto Sum Shortcut in Excel: Quick Keys & Steps
- Computer Data Entry Job Vacancy: Real Answers
- How to Select a Cell and Everything Below It in Excel
Try it: the Column Letter to Number: aA is 27, XFD is 16,384. Converts both ways.
More in VBA & macros
- Excel Not Responding During VBA? Causes and FixesIf Excel says Not Responding while VBA runs, it often means the macro is occupying Excel’s interface thread—not…
- VBA Code to Refresh Pivot Tables Automatically in ExcelTo refresh every PivotTable in the workbook that contains your VBA, run a macro that loops through each…
- Excel VBA: How to End a LoopTo end a VBA loop early, use Exit For inside a For loop or Exit Do inside a…
- Toggle Macro Settings in Excel: Enable or Disable?In Excel for Microsoft 365 on Windows, open File > Options > Trust Center > Trust Center Settings…
- VBA Split: How to Turn Text into an Array in ExcelYes. In Excel VBA, use the Split function to divide a string at a delimiter and return the…
- VBA Mid String Function: Syntax, Examples, and TipsIn VBA, the Mid function returns part of a string, starting at a position you specify: use Mid(text,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.