You can get the Headless Horseman in Ride a Pet by hatching the Headless Egg. The Headless Egg can only be obtained from the Yinyang Cave in the Halloween Zone. To open the Yinyang Cave, you need to find 1x Yin piece and 1x Yang piece. The Headless Egg has a 0.1% chance to spawn when you open the Yinyang Cave. See our full guide below to learn about the possible Yin and Yang piece spawn locations.
Updated on October 11, 2026: Yin and Yang pieces spawn fixed. We've added all known spawn locations for the Yin and Yang Pieces.
The Headless Horseman is the Secret Pet added to Ride a Pet with the Halloween Update. This is currently the rarest and fastest pet in the game that you can get. If you want to get the Headless Horseman in Ride a Pet but don’t know which egg to hatch or how to get the required egg, this detailed guide is for you. So, let’s get right into it.
How to Get Headless Horseman in Ride a Pet
To get the Headless Horseman in Ride a Pet, you need to hatch the Headless Egg. The Headless Egg has a 100% chance to hatch the Headless Horseman. However, the egg is extremely rare to get due to its 1 in 1,000 spawn chance.
Once you get the egg, it goes straight to your inventory, and it is an instant-hatch egg, so you won’t have to wait at all.
To get the Headless Egg, you need to go to the Halloween Zone and open the Yinyang Cave. Read on to learn how to do that.
How to Open the Yinyang Cave in Ride a Pet
To open the Yinyang Cave in Ride a Pet, you need to complete the Yinyang Ritual. For that, you have to first find 1x Yin and 1x Yang. Both of these pieces have a random chance to spawn in the Halloween Zone.
If you find both pieces, you can open the Yinyang Cave alone. You can also choose to share a piece with one of your friends. If you do share the pieces and the Headless Egg spawns inside the cave, both you and your friend will be able to grab the Headless Egg.

All Yin and Yang Spawn Locations in Ride a Pet
Both the Yin and Yang pieces have a chance to spawn in different areas of the Halloween Map. Just like Candy, the Yin and Yang pieces also spawn on the ground. Both pieces can be present on the map at the same time.
If you don't find and collect the Yin and Yang pieces, they will despawn after 5 minutes. After despawning, the pieces respawn after 5 to 10 minutes.
The most common spawn locations for the Yin and Yang pieces are:
- Near the Candy Drop-Off area.
- In the Cemetery area (above the Yinyang Cave).
- Near the houses where you play the Trick or Treat mini-game.
- In the open ground before the pumpkin area.
After finding both pieces, go near the cave and interact with it to place the pieces and open the Yinyang Cave.

While you’re here, also check out our guide on How to Get Candy in Ride a Pet so you can also grab Halloween Eggs while grinding for the Headless Horseman in Ride a Pet.