You touch a nonmagical weapon. Until the spell ends, that weapon becomes a magic weapon with a +1 bonus to attack rolls and damage rolls. The spell ends early if you cast it again.
Using a Higher-Level Spell Slot. The bonus increases to +2 with a level 3–5 spell slot. The bonus increases to +3 with a level 6+ spell slot.
This work includes material from the System Reference Document 5.2.1 (“SRD 5.2.1”) by Wizards of the Coast LLC, available at https://www.dndbeyond.com/srd. The SRD 5.2.1 is licensed under the Creative Commons Attribution 4.0 International License, available at https://creativecommons.org/licenses/by/4.0/legalcode. Magic Weapon: SRD 5.2.1 page 146.
Common questions
What level is Magic Weapon?
It is a level 2 spell from the Transmutation school, on the Paladin, Ranger, Sorcerer, Wizard spell lists.
Does Magic Weapon need concentration?
No. Its duration is 1 hour, with no concentration needed.
Is this the 2014 or the 2024 version?
The 2024 version, from the System Reference Document 5.2.1 that Wizards of the Coast released under Creative Commons. Older 2014 wording can differ.