Melee is the Terraria class of swords, spears, yoyos, flails and boomerangs. How each weapon type works, the best melee armor, accessories and weapons for every stage.
Melee is the Terraria class of swords, spears, yoyos, flails and boomerangs. It has the most defense of the four classes, and melee weapons use no ammo or mana, so you can keep attacking for as long as you like.
This page covers how the melee weapon types work, the best melee armor and accessories, and good weapons for every stage, from your first day up to the Zenith.

Melee weapons come in a few types that play quite differently:
Melee speed makes swords and spears attack faster. Yoyos can't get attack speed, so melee speed raises their range instead.
Note: The Feral Claws and their upgrades enable auto swing for melee weapons and whips, so you can hold the button instead of clicking for every swing.
Each set below gives its melee bonus when you wear all three pieces. Sets with several headpieces, such as Hallowed armor, need the melee one (the Hallowed Mask):
| Armor Set | How To Get | Set Bonus | When To Use |
|---|---|---|---|
| Molten | 45 Hellstone Bars | 10% melee damage, immune to fire blocks | Before the Wall of Flesh |
| Hallowed (Mask) | Hallowed Bars | Short immunity after you hit an enemy | After a mechanical boss |
| Turtle | 54 Chlorophyte Bars and 3 Turtle Shells | 15% less damage taken, attackers take double damage | After the mechanical bosses |
| Beetle | 18 Beetle Husks from Golem and Turtle armor | Beetles add melee damage and speed, or protect you | After Golem |
| Solar Flare | 36 Luminite Bars and 45 Solar Fragments | 12% less damage taken, solar shields and a dash | After the Moon Lord |
Squire and Monk armor from the Tavernkeep are also popular with melee players in early Hardmode, because each set adds a sentry slot on top of its melee stats. Their upgrades, Valhalla Knight and Shinobi Infiltrator armor, come after Golem.

These are the main melee accessories, in roughly the order you get them:
The Avenger Emblem is any class emblem plus 5 each of Souls of Might, Sight and Fright, and after Golem it becomes the Destroyer Emblem (10% damage and 8% critical strike chance). For wings and a shield, see How To Get Wings and How To Get The Ankh Shield.

At the start, the Blade of Grass (12 Stingers, 15 Jungle Spores and 3 Vines) fires a homing leaf that can poison enemies. The Starfury from Skyware Chests on Floating Islands makes stars fall toward your cursor as you swing.
After Skeletron, the Cascade yoyo drops from enemies in the Underworld and makes fiery explosions on hit. The Volcano takes 20 Hellstone Bars and explodes on every hit. Combine the Volcano, the Light's Bane (or Blood Butcherer), the Muramasa and the Blade of Grass at a Demon or Crimson Altar for the Night's Edge. For each part, see How To Get The Night's Edge and How To Get The Muramasa.
Before the mechanical bosses, yoyos are among the best picks. The Chik takes a Wooden Yoyo, 15 Crystal Shards and 10 Souls of Light and fires crystal shards on every 3rd hit. The Amarok drops from enemies in the Snow biome and gives enemies Frostbite.
After your first mechanical boss, craft the Excalibur from 12 Hallowed Bars or buy the Mushroom Spear from the Truffle for 70 Gold. Once all three mechanical bosses are down, upgrade to the True Excalibur (Excalibur and 24 Chlorophyte Bars) or the Chlorophyte Claymore.
After Plantera, combine the True Night's Edge, the True Excalibur and the Broken Hero Sword into the Terra Blade, which fires a green slash that pierces every enemy in its path. For the steps, see How To Get The Terra Blade and How To Get The Broken Hero Sword. The Vampire Knives heal you for 7.5% of the damage they deal, and the Paladin's Hammer drops from Paladins in the Hardmode Dungeon.
After Golem, the Influx Waver from the Martian Saucer and the Flying Dragon from Betsy are the best swords. Before the Moon Lord, craft the Daybreak from 18 Solar Fragments at the Ancient Manipulator. Its sun spears stick to enemies and burn them for 100 damage per second.
The Moon Lord has a 20% chance each to drop the Meowmere, the Star Wrath and the Terrarian yoyo. The Meowmere and the Star Wrath go into the Zenith, together with the Terra Blade, the Influx Waver and other swords from earlier. The Zenith fires homing swords that pass through blocks, and it is the strongest melee weapon in the game. For the full recipe, see How To Get The Zenith.

Melee keeps you close to bosses, so dodging matters as much as damage. These habits help:
For the other classes, see Ranged Class Guide, Magic Class Guide and Summoner Class Guide. For the boss order, see All Bosses In Order And How To Summon Them. If you play with the Calamity Mod, see Melee Class Guide (Calamity Mod).