# Spawn Chunks

Against popular belief spawn chunks DO exist on bedrock edition. These chunks around a given player's spawn point and are there mostly for performance reasons. If you have ever went into a portal and came back you will know that the transfer from nether to overworld is much faster than the opposite. This is because of spawn chunks. This can help you load those chunks to the ticking status much quicker than if they were fully unprocessed. These chunks form a rounded 11x11 square of <span style="color: rgb(230, 126, 35);">[unloaded chunks](https://bedrockwiki.com/books/chunks/page/view-chunks)</span> and of course bordering them is a rounded 15x15 square of <span style="color: rgb(230, 126, 35);">[locked chunks](https://bedrockwiki.com/books/chunks/page/locked-chunks)</span>.

## <span style="color: rgb(230, 126, 35);">Where do they come from?</span>

<span style="color: rgb(149, 165, 166);">Spawn chunks are a consequence of </span>

```c++
void Player::updateSpawnChunkView();
```

<span style="color: rgb(149, 165, 166);">which is called by these functions to move the spawn chunk view region to where you last set your spawn.</span>

```c++
void Player::setBedRespawnPosition(BlockPos const& bedPosition);
void Player::setRespawnPosition(BlockPos const& inRespawnPosition, DimensionType dimension);
bool Player::setSpawnBlockRespawnPosition(BlockPos const& spawnBlockPosition, DimensionType dimension);
```

[![spawnchunksvisualisation.png](https://bedrockwiki.com/uploads/images/gallery/2025-09/scaled-1680-/spawnchunksvisualisation.png)](https://bedrockwiki.com/uploads/images/gallery/2025-09/spawnchunksvisualisation.png)

<span style="color: rgb(126, 140, 141);">(Visualization by @kiwixite on discord)</span>

<p class="callout info"><span style="color: rgb(126, 140, 141);">These chunks will become unprocessed on server/world shutdown until loaded again. After which they will stay persistent across *that* session.</span></p>