Skip to content
[/craft]

Summon Cave Spider Command

Copy the /summon command for Cave Spider in Minecraft Java 26.2 and Bedrock 26.32. Grab the default command below, or use the builder to set position and options.

Default command

Java/summon minecraft:cave_spider ~ ~ ~
Bedrock/summon cave_spider ~ ~ ~

With custom name

Java/summon minecraft:cave_spider ~ ~ ~ {CustomName:'"Cave Spider"'}

Custom names via NBT are Java-only. On Bedrock, use a name tag after summoning.

Customize in the builder

JavaSwitch edition using the selector in the header.
cave spider
/summon minecraft:cave_spider ~ ~ ~

Frequently asked questions

How do I summon a Cave Spider in Minecraft?
Enable cheats or use OP, open chat with T or /, paste /summon minecraft:cave_spider ~ ~ ~ (Java) or /summon cave_spider ~ ~ ~ (Bedrock), and press Enter. The Cave Spider spawns at your feet.
Does the summon Cave Spider command work on Bedrock Edition?
Yes — use /summon cave_spider ~ ~ ~. Bedrock uses the same entity IDs without the "minecraft:" prefix and does not support NBT arguments like custom names in the summon command.
Why does my summoned Cave Spider despawn?
Mobs despawn when no players are nearby. On Java Edition, add {PersistenceRequired:1b} to the summon command to prevent it. On Bedrock, use a name tag on the mob after summoning.
Browse all Summon commands →/summon builder →Java vs Bedrock guide →