The cave spider is proof that Minecraft looked at the regular spider and thought, “What if we made it smaller, meaner, and venomous?” These tiny blue-green nightmares live exclusively inside abandoned mineshafts, hiding behind walls of cobwebs and waiting for you to stumble into their spawner room like it is some kind of arachnid haunted house. They are one of the few mobs in the game that can inflict the Poison status effect, which makes them far more dangerous than their compact size suggests.
What makes cave spiders so uniquely frustrating is their hitbox. They are only half a block tall and half a block wide, which means they can squeeze through gaps that regular spiders cannot. You think you have sealed off a spawner room? Think again. These things will find a one-block gap you forgot about and swarm through it like angry blue confetti. Combine that with the dense cobwebs that slow your movement to a crawl while barely bothering them, and you have a recipe for a genuinely miserable fight if you come unprepared.
On the other hand, cave spider spawners are some of the most useful in the game for building XP farms. Once you get past the initial chaos of securing the spawner, the small size of cave spiders and the predictability of their spawning make them excellent candidates for compact grinder designs. So yes, the mob that ruined your early-game mineshaft exploration might end up being one of your most valuable mid-game resources. Minecraft loves that kind of irony.
Overview / Quick Stats
| Attribute | Details |
| Name | Cave Spider |
| Namespaced Entity ID | minecraft:cave_spider |
| Alignment | Neutral (hostile in light level 11 or below, passive in light level 12 or above) |
| Dimensions / Hitbox | 0.7 blocks wide × 0.5 blocks tall |
| Health | 12 health points (6 hearts) |
| Armor | 0 |
| Base Damage | Melee attack damage plus Poison effect on Normal and Hard difficulty:
Poison cannot kill — it stops draining at half a heart (1 HP). |
| Movement Speed | Java: 0.3 (same as regular spider) Bedrock: 0.3 |
| Knockback Resistance | 0 |
| Follow / Detection Range | 16 blocks |
| Experience Drop | 5 XP orbs (base) |
| Spawn Location | Abandoned mineshafts only (from mob spawners) |
| First Added | Java Edition Beta 1.8 (Adventure Update) |
| Last Major Change | 1.18 — spawning adjusted due to world generation changes affecting mineshaft placement |
Appearance
Cave spiders use the same general model as regular spiders — a flat, wide body with eight legs — but scaled down significantly. They are roughly half the size, measuring 0.7 blocks wide and only 0.5 blocks tall. That compact frame is the whole reason they can fit through one-block-tall gaps, which is a problem you will become very familiar with.
The most obvious visual difference is color. Where regular spiders are dark grey-brown, cave spiders have a distinct dark teal or blue-green tint that makes them immediately recognizable. Their eyes still glow the same red as regular spiders, which is a fun detail when you see multiple pairs of glowing red dots rushing at you through cobwebs in a dark mineshaft corridor.
Cave spiders have no baby variant, no size differences, and no cosmetic variations. Every cave spider looks exactly the same, which is fine because one variety of tiny venomous spider is already more than enough.
Behavior & AI
- Aggression and light sensitivity: Cave spiders behave like regular spiders in terms of aggression. They are hostile when the light level at their location is 11 or lower and become neutral (passive unless attacked) at light level 12 or above. In the dim environment of an abandoned mineshaft, they are almost always hostile.
- Wall climbing: Like all spiders, cave spiders can climb vertical surfaces. They will scale walls and even ceilings to reach you, which means blocking off a corridor at ground level does not guarantee safety.
- Cobweb navigation: Cave spiders move through cobwebs with far less speed reduction than the player experiences. You are slowed to a crawl; they are mildly inconvenienced at most. This is the core of why fighting them in their natural habitat is so punishing — the cobwebs that protect the spawner also protect them.
- Small hitbox pathfinding: Their 0.7 × 0.5 block hitbox means cave spiders can fit through 1×0.5 block gaps. They will pathfind through openings that regular spiders and most other mobs cannot use. When building containment around a spawner, you need to account for this or they will escape.
- Targeting: Cave spiders target the nearest player within 16 blocks when hostile. They do not target other mobs unprovoked.
- Despawning: Cave spiders follow standard hostile mob despawn rules. They can despawn if more than 128 blocks from the nearest player and will eventually despawn if more than 32 blocks away, with the exception of any that have picked up items (which cannot happen naturally, since spiders do not pick up items) or have been named with a name tag.
- Spawner-bound: Cave spiders only spawn from mob spawners found in abandoned mineshafts. They do not spawn naturally in any other context, which means every cave spider you meet has crawled out of one of those cage blocks.
Abilities, Attacks & Status Effects
- Melee attack: Cave spiders lunge at the player with a short-range melee attack, identical in animation to the regular spider’s pounce. The base damage is 2 on Easy and Normal, and 3 on Hard.
- Poison effect: On Normal difficulty, each successful hit applies Poison I for 7 seconds. On Hard difficulty, it lasts 15 seconds. On Easy difficulty, there is no Poison effect at all. This is the cave spider’s signature threat — the poison ticks away at your health over time, and if multiple cave spiders are hitting you in quick succession, the poison timer keeps resetting, draining your health bar steadily.
- Poison damage details: Poison I deals 1 damage (half a heart) every 25 ticks (1.25 seconds). Over 7 seconds on Normal, that is roughly 4-5 extra damage. Over 15 seconds on Hard, it can drain up to 9-10 additional damage. Critically, Poison cannot kill you — it stops at half a heart (1 HP). But it leaves you one hit away from death by anything else, which in a mineshaft full of other mobs is basically the same thing.
- No ranged attack: Cave spiders have no ranged capability. If you can create distance, you are safe from direct damage.
- Shield interaction: A shield blocks the melee damage from a cave spider attack but does not prevent the Poison effect in Java Edition. In Bedrock Edition, shields block both the damage and the poison.
- Knockback: Cave spiders have zero knockback resistance, which means you can keep them at arm’s length with knockback-enchanted weapons fairly effectively. Their low health (12 HP) also means they die quickly to decent gear.
- Immunity: Cave spiders are immune to the Poison effect themselves. Splash potions of Poison will not damage them. They are also arthropods, which means Bane of Arthropods deals bonus damage and applies Slowness IV to them.
Spawning
| Spawn Condition | Details |
| Location | Abandoned mineshafts only, from cave spider mob spawners |
| Biomes | Any biome where abandoned mineshafts generate (most Overworld biomes). Badlands biomes generate mineshafts at surface level and higher, making cave spider spawners potentially easier to find there. |
| Y-Level Range | Wherever mineshafts generate — typically between Y -64 and Y 50 in most biomes, and up to Y 100+ in Badlands |
| Light Level | Spawners ignore light level — cave spiders will spawn from a spawner regardless of how many torches you place nearby. Light level only affects their hostility, not their ability to spawn. |
| Required Block | Must have a valid spawning space within the spawner’s 9×3×9 activation volume. Their small hitbox means they need less space than most mobs. |
| Group Size | Java: Spawner produces 1-4 cave spiders per spawn cycle Bedrock: Spawner produces 1-4 cave spiders per spawn cycle |
| Weight | Not applicable — cave spiders do not spawn naturally via mob spawning algorithms. They are exclusively spawner-based. |
| Edition Differences | Spawner behavior is functionally identical between Java and Bedrock. The main difference is mineshaft generation frequency and placement, which affects how commonly you encounter cave spider spawners in the first place. |
Interactions with Environment & Other Mobs
- Iron Golems: Iron Golems will attack cave spiders if they detect them. Since cave spiders only spawn in mineshafts (away from villages), this interaction almost never happens naturally. But if you drag a golem down there or spawn one, it will gladly clean house.
- Cats and Ocelots: Cave spiders are afraid of cats and ocelots, just like regular spiders. They will flee from cats within a 6-block radius. This is a legitimate defensive strategy if you can get a cat down to your mineshaft.
- Other spiders: Cave spiders and regular spiders do not interact with each other in any special way. They share the same general AI but are treated as separate mob types.
- Cobwebs: Cave spiders are significantly less affected by cobwebs than the player. In their natural spawner rooms, this gives them a major advantage in combat. Clear the cobwebs before engaging if at all possible — shears or a sword are the fastest tools for the job.
- Boats and minecarts: Cave spiders can be captured in boats and minecarts, which is actually useful when designing farms. Their small hitbox makes them easier to transport through tight water channels than regular spiders.
- Wither: The Wither will target and attack cave spiders, as it does all non-undead mobs.
Drops & Loot
| Item | Quantity | Chance | Notes |
| String | 0–2 | 100% | Always drops string. Maximum quantity increases by 1 per Looting level, up to 0–5 with Looting III. |
| Spider Eye | 0–1 | 33% base | Only drops when killed by a player or tamed wolf. Looting increases the chance by ~3.5% per level (up to ~43% at Looting III). Not dropped when killed by environmental damage, fall damage, or other mobs. |
| Experience | 5 XP | 100% | Dropped only when killed by a player or tamed wolf. This makes them excellent for XP farming when a spawner is available. |
Player Uses & Farming
- XP farming: Cave spider spawners are among the most common mob spawners you will find in the game, and they are excellent for XP farms. Because cave spiders have only 12 health points, a kill chamber that drops them to low health and lets you finish them with one hit is straightforward to build.
- String farming: A cave spider farm produces a steady supply of string, which is useful for crafting wool, bows, fishing rods, crossbows, scaffolding, candles, and leads. String is also a villager trade item — Fletcher villagers buy string at the Novice level.
- Spider eye farming: Spider eyes are needed for brewing Potions of Poison and Fermented Spider Eyes, which are ingredients in several other potions including Potions of Weakness, Harming, Slowness, and Invisibility. A cave spider farm is one of the most reliable ways to stockpile spider eyes.
- Farm design considerations: The small hitbox is both a blessing and a curse for farm design. Cave spiders can be funneled through 1-block-wide channels easily, but they can also escape through gaps that would contain other mobs. Water streams are the most reliable transport method. Use signs or waterlogged blocks to create water channels that push them toward a kill zone.
- Common farm layout: Seal the spawner room, clear all cobwebs, light the room except for the spawner area, and create water channels that push cave spiders from the spawner’s activation zone to a drop shaft or kill chamber. A 22-block drop will bring them to one hit from death, but their small size can sometimes cause inconsistent fall damage if the landing area is not designed carefully.
- Spawner activation range: The spawner activates when a player is within 16 blocks (spherical radius). You need your AFK spot within this range for the farm to produce. Many designs place the AFK platform directly above or beside the spawner.
- Edition caveats: Spawner mechanics are slightly different between Java and Bedrock. In Java, spawners check for nearby entities and stop spawning if 6 or more cave spiders are within the spawner’s range. In Bedrock, the mob cap works differently, so farm rates and designs may need adjustments between editions.
Commands & NBT
Here are common commands for summoning cave spiders with customized properties:
/summon minecraft:cave_spider ~ ~ ~
Summon a basic cave spider at your current location.
/summon minecraft:cave_spider ~ ~ ~ {CustomName:'{"text":"Greg"}',CustomNameVisible:1}
Summon a named cave spider called Greg. Naming it prevents despawning, which is handy for testing or display purposes. Greg is probably still going to try to poison you.
/summon minecraft:cave_spider ~ ~ ~ {Health:1f,Attributes:[{Name:"generic.max_health",Base:1.0}]}
Summon a one-hit cave spider for testing kill mechanisms in farm designs.
/summon minecraft:cave_spider ~ ~ ~ {NoAI:1b}
Summon a cave spider with no AI — it will not move, attack, or climb. Useful for decoration or building showcases.
Health: Current health as a float. Default is 12.0f.Attributes: Modifiable attributes includinggeneric.max_health,generic.movement_speed,generic.attack_damage, andgeneric.follow_range.NoAI: Set to 1b to disable all AI behavior. The cave spider will sit in place doing nothing.Silent: Set to 1b to suppress all sounds from the entity.Invulnerable: Set to 1b to make the cave spider immune to all damage.PersistenceRequired: Set to 1b to prevent natural despawning.
Tags, Gamerules & Datapack Hooks
#minecraft:arthropod: Cave spiders are part of the arthropod entity type tag. This means they take bonus damage from Bane of Arthropods and receive the Slowness IV effect from it.#minecraft:spiders: Part of the spiders entity tag, shared with regular spiders.doMobSpawning: Gamerule that controls natural mob spawning. Note that this does NOT affect mob spawner blocks — cave spider spawners will continue to function even with this set to false.mobGriefing: Does not directly affect cave spiders since they do not modify blocks.- Loot table path:
minecraft:entities/cave_spider— modifiable through datapacks to change drop items, quantities, and conditions. - Spawner data: Cave spider spawner blocks can be modified via NBT to change spawn count, spawn range, delay, and required player range using the
/data mergecommand on the spawner block entity.
Difficulty & Edition Differences
- Easy difficulty: Cave spiders deal 2 damage (1 heart) per hit and do not apply Poison. This makes them significantly less dangerous — essentially just smaller, weaker spiders.
- Normal difficulty: 2 damage (1 heart) per hit plus Poison I for 7 seconds. The poison adds approximately 4-5 damage over its duration, more than doubling the effective damage of each hit.
- Hard difficulty: 3 damage (1.5 hearts) per hit plus Poison I for 15 seconds. This is where cave spiders become genuinely lethal. Multiple hits in rapid succession can drain your health bar alarmingly fast, and the 15-second poison timer leaves you vulnerable long after the fight.
- Java vs. Bedrock — shield behavior: In Java Edition, blocking a cave spider attack with a shield prevents the melee damage but NOT the Poison effect. In Bedrock Edition, the shield blocks both the damage and the poison. This is one of the more significant combat differences between editions for this mob.
- Java vs. Bedrock — spawner mechanics: Spawner activation range and spawn cap behavior differ slightly. Java spawners have a strict 6-entity cap within the spawn range before stopping. Bedrock uses a different density check, which can result in slightly different farm output rates.
- Java vs. Bedrock — wall climbing: Wall climbing behavior is functionally the same in both editions, though pathfinding can occasionally differ in edge cases involving tight spaces.
Sounds & Audio
- Ambient sound:
entity.spider.ambient— the same skittering hiss used by regular spiders. You will learn to dread this sound in mineshaft corridors. - Hurt sound:
entity.spider.hurt— a short, sharp squeal when taking damage. - Death sound:
entity.spider.death— the final squeaky cry when killed. - Step sound:
entity.spider.step— the light tapping of those eight horrible legs on whatever surface they are crawling across. - Note: Cave spiders share all their sound events with regular spiders. There are no cave spider-specific sounds. The game apparently decided that one set of spider noises was enough to haunt your nightmares.
History & Major Changes
- Beta 1.8 (Adventure Update): Cave spiders were added to the game alongside abandoned mineshafts. They were immediately recognized as one of the most annoying mobs in the game, a reputation they have maintained for over a decade.
- Java 1.0 (Release): Spider eyes were added as a drop for both regular spiders and cave spiders, giving them an actual loot purpose beyond string.
- Java 1.4.2 (Pretty Scary Update): Poison duration adjustments were made across difficulty levels to better scale the threat between Easy, Normal, and Hard.
- Java 1.8: Various AI and pathfinding improvements affected all spider-type mobs, including cave spiders.
- Java 1.11: Entity ID changed from
CaveSpidertocave_spideras part of the entity naming convention update. - Java 1.18 (Caves & Cliffs Part 2): World generation overhaul changed where mineshafts could appear, extending them into the new deepslate layers and deeper cave systems. Cave spider spawners now appear at much lower Y levels than before.
- Bedrock 1.0: Cave spiders were included in the initial Bedrock Edition release with functionally identical behavior to Java Edition.
Notable Bugs & Quirks
- Cobweb inconsistency: Despite cave spiders being thematically associated with cobwebs, they do not place, create, or interact with cobwebs in any special programmatic way. The cobwebs in mineshaft spawner rooms are part of the structure generation, not the mob itself.
- Fall damage inconsistency: Due to their small hitbox, cave spiders can sometimes survive fall distances that should kill them, or take unexpected amounts of fall damage when landing on certain block configurations. This can be frustrating when designing drop-based kill chambers for farms.
- Climbing glitches: Like regular spiders, cave spiders can sometimes get stuck on wall edges or corners during climbing, resulting in jittery movement or temporary pauses in their pathfinding. This is more of an AI quirk than a bug, but it has been a consistent spider behavior for years.
- Spawner room overlap: Mineshafts can generate multiple cave spider spawner rooms adjacent to each other. When two spawners activate simultaneously, the number of cave spiders flooding a corridor can overwhelm unprepared players in seconds. This is technically working as intended, but it certainly does not feel intentional when it happens to you.
Advancements / Achievements
- Monster Hunter (Java): Kill any hostile mob. Cave spiders count toward this advancement.
- Monsters Hunted (Java): Kill one of every hostile mob. Cave spiders are on the list and must be killed to complete this advancement. Since they only spawn in mineshafts, you will need to find one before you can finish this.
- Adventure (Java): Kill any entity or be killed by any entity. Cave spiders qualify on both ends of this one.
- Monster Hunter (Bedrock): Kill a hostile mob. Same deal as Java — any cave spider counts.
- Monsters Hunted (Bedrock): Kill each type of hostile mob. Cave spiders are required.
Spin-offs, Culture & Trivia
- Size comparison: Cave spiders are one of the smallest hostile mobs in the game. Their 0.7 × 0.5 hitbox makes them smaller than most baby animals. Only the Silverfish and Endermite are comparably tiny among hostile mobs.
- No natural spawning: Cave spiders are one of the few hostile mobs that have zero natural spawning — they only come from spawner blocks. This puts them in the same category as Blazes and Silverfish (from spawners in strongholds).
- Poison but not lethal: Cave spiders were the first mob added to the game with a poison ability. The design decision to make poison non-lethal (stopping at half a heart) was intentional to prevent cheap deaths, though in practice being left at half a heart in a mineshaft is arguably worse than dying outright.
- Popular in competitive play: Cave spider spawner farms are popular in survival multiplayer servers because mineshafts are common, the farms are cheap to build, and the XP output is reliable once set up.
- Minecraft Dungeons: Cave spiders appear as enemies in Minecraft Dungeons, retaining their poison ability and small size. They function similarly, swarming the player in groups.
- Community reputation: Cave spiders consistently rank among the most disliked mobs in community polls, not because they are difficult in isolation, but because fighting them in their home turf — a dark, cobweb-filled mineshaft with limited movement — is a deeply unpleasant experience for any player who values their health bar.
See Also
- Spider — the regular variant, larger and without poison
- Cobweb — the block that makes cave spider encounters so frustrating
- Abandoned Mineshaft — the only structure where cave spiders spawn
- Mob Spawner — the block that generates cave spiders
- Poison (Status Effect) — the effect inflicted by cave spider attacks
- Bane of Arthropods — the enchantment that deals bonus damage to cave spiders
- Spider Eye — key drop used in brewing
- String — primary drop, used in crafting and villager trades



