Skip to main content
← All Guides
Combat · Mobs · Night Survival

How to Beat a Phantom

A phantom circling high above a rooftop at night, wings spread, eyes glowing green

Built by us straight out of PhantomModel, the geometry the client itself renders him with.

Go three nights without sleep and phantoms start swooping out of the dark. Dodge the dive, drop their 20 HP with a bow, and end it for good by sleeping.

Best weapon
A bow, safer than trying to time a sword swing on the low hitboxA bow

Loose an arrow as it dives. A sword swing at eye level often sails clean over its 0.5-tall hitbox.

Java + BedrockConfirmed in Bedrock's own hitbox measurement for this mob: 0.9 wide, 0.5 tall.
Best cover
Oak planks, enough to block the diveAny roof

It holds well above roof height until it commits to a dive, so one layer of blocks over your head already blocks it.

JavaIts circling behavior keeps it above your roof, re-anchoring itself whenever the block above you turns solid.
Easiest trick
Wool, standing in for a bedSleep in a bed

Climbing into bed resets the counter the instant you lie down, not after a full night's sleep.

JavaClimbing into bed resets the sleepless counter immediately, before anything else about sleeping runs.
Common miss
Phantom membrane, dropped only on a kill you land yourselfSwinging too high

Its whole body is barely half a block tall. Aim low, not where a normal mob's chest would be.

BedrockConfirmed in Bedrock's own hitbox measurement: 0.9 wide, 0.5 tall.
A phantom rendered to scale next to a player, for a sense of its real size

To scale against a player, from the same client model.

What you need

Bow with arrows
A bed to sleep in
Membranes they drop
A clock to track night

The insomnia counter, as odds

0 to 3 nights: exactly zeropast 3 nights: rising odds

There is no switch that flips at three nights. Every attempt to spawn a phantom near you rolls a random number under your current sleepless-tick count and checks whether it lands at or above 72,000 (exactly 3 in-game days at 24,000 ticks each). Below 72,000 sleepless ticks that check can never pass, so the odds are a flat zero. Past it, the odds climb the longer you go without sleeping, they never jump straight to certain.

JavaThe game checks this roughly every 60 to 119 real seconds, for every player who is in a sky-lit dimension, at or above sea level, and can see the open sky.

A bed resets it the instant you climb in, not after you have slept the night through. Dying resets the same counter too, which is not exactly a strategy but is a real side effect of respawning.

JavaClimbing into bed resets the counter as the very first thing that happens, before anything else about going to sleep runs. Dying resets the same counter as well.

When one does spawn, it rarely comes alone once the odds are already climbing: group size scales with difficulty, 1 to 2 on Easy, 1 to 3 on Normal, 1 to 4 on Hard.

JavaAll of them arrive together in the same spawn tick, not one at a time.

Dodge the swoop, then sleep

Phantoms only spawn after three nights awake, and each one has just 20 HP. Strafe out of the diving swoop, shoot it down with a bow or sword on the pass, and stay under a roof or near a cat. The real fix is a bed: one night's sleep resets the timer and stops them entirely.

  1. 1
    Watch for the swoop
    Phantoms circle overhead, then dive in a steep arc to hit you for up to 6 damage before peeling off for another pass.
  2. 2
    Strafe the dive
    Sidestep as it commits to the dive; the swoop is committed and easy to dodge once you read the angle, then it climbs and re-circles.
  3. 3
    Shoot it down
    Each phantom has only 20 HP, so a couple of bow shots or two clean sword hits on the pass kills it. Loose your arrow as it dives at you.
  4. 4
    Stand under cover
    A roof, a tree, or a cat nearby stops the swoop. Cats scare phantoms off, and they cannot dive through a solid block above you.
  5. 5
    Sleep to end it
    Sleep in a bed to clear the insomnia. Three nights awake is what spawns them, so a good night's sleep stops phantoms entirely.

How high it circles

BedrockBedrock
20 to 40 blocks

Set directly as one number on the circling behavior itself: how high above you it holds while it waits to dive.

Set directly in the circling behavior itself, as one fixed number.

JavaJava
20 to 34, then −4 to +5

No single circling-height number exists. It spawns 20 to 34 blocks above you, then only wobbles a few blocks around that point while it circles.

Comes from its spawn height plus a small random wobble while it circles.

Different mechanics, same result for you: it holds well above roof height until it commits to a dive. That is why one layer of blocks over your head already stops it, on either edition, without needing to know the exact number above you at any given moment.

JavaJava re-anchors mid-circle too: if the block above or below its target point turns solid, it nudges its circling height back toward you so it does not try to circle through your roof.

The 16-block cat zone

a cat
16 blocks

On Bedrock, one tamed cat or ocelot anywhere within 16 blocks keeps every phantom away, and it does not need to be visible: ignore_visibility: true means a cat behind a wall still counts. One cat asleep in your base is a real, standing fix.

BedrockConfirmed in Bedrock's own behavior files, filtered to the cat and ocelot family, and it applies whether or not the cat can actually be seen.

On Java this does nothing. Phantom.registerGoals() adds exactly four goals, an attack strategy, a sweep attack, the circling, and a player target, and none of them is an avoid-type goal. Cat itself, in the same jar, never references Phantom at all. Keep a cat on Java for the creepers it does scare off, not for this.

JavaChecked both directions in Java 26.2: nothing in the phantom's own behavior list, and nothing in the cat's own code that mentions phantoms at all.

What phantom membrane is worth

Elytra repair
25% per membrane

Elytra has 432 durability and only one item repairs it: phantom membrane. Each one restores up to a quarter of that in an anvil, and you can stack several in at once.

Java
Slow Falling potion
only path to brew it

Awkward Potion plus a membrane brews straight into Slow Falling, no other ingredient does this. Add redstone after for the long version.

Java

What a phantom drops

Phantom Membrane
0 to 1, Looting +1

Only from a killing blow you land yourself. Let one burn to death in daylight, drown, or fall, and it drops nothing at all, on either edition.

Java + BedrockConfirmed in the drop rules for this mob, on both editions.

Quick answers

?

How do you beat a phantom in Minecraft?

Read its swoop: phantoms circle then dive at you. Strafe sideways to dodge the dive, then shoot it with a bow or hit it with a sword as it passes. Each phantom has only 20 health, so two or three hits kill one. To stop them coming back, sleep in a bed.
?

Why do phantoms spawn at night?

Phantoms spawn over players who have not slept for three in-game nights. The longer you go without sleep the more spawn. They only appear at night under the open sky, so sleeping resets the counter and they stop.
?

How do you stop phantoms from spawning?

Sleep in a bed at least once every three nights. Sleeping resets the insomnia timer, so phantoms never reach the spawn threshold. If you cannot sleep, staying under a roof or near cats keeps you safe from the swoops.
?

How much damage does a phantom do?

A phantom swoop deals up to 6 damage (3 hearts) on normal difficulty, more on hard. They strike from above in a dive, so a roof over your head or a block above you blocks the attack entirely.
?

Do cats scare away phantoms?

Yes. Cats hiss at phantoms and make them keep their distance, so a tamed cat in your base is a strong passive deterrent. Phantoms avoid the area around a cat, which buys you time to shoot them or get to a bed.
?

What do phantoms drop?

Phantoms drop phantom membrane, used to repair elytra and to brew Slow Falling potions. That makes farming a few phantoms worthwhile, but the simplest play is to sleep and avoid them unless you want the membranes.

The insomnia spawn check, the swoop damage, the search range and the circling height came directly from how phantoms actually behave in Java 26.2, checked against the real code and not copied from a wiki. Bedrock's own entity and spawn rules files, version 1.26.30.5, gave the hitbox, the cat behavior and its own circling number independently. Two of the numbers this page first pulled automatically turned out to be the wrong layer for this mob, the swoop damage and the search range, and both are corrected above using the value that actually applies during a fight, not the listed default that never fires.

Database
Mob Database
Stats, drops, spawn conditions and behaviour for every mob.
Database
Item Database
Every item with its stats, IDs, recipes and uses.
Guides
More Combat & Survival guides
Boss fights, mobs, gear, potions and staying alive.

Blocks and items in this guide

Phantom Membrane in MinecraftPhantom MembraneRedstone in MinecraftRedstoneElytra in MinecraftElytraPotion in MinecraftPotionTarget in MinecraftTarget

All 5 of these are named in the guide above, starting with Phantom Membrane. Look them up in the item database.