> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deeppcb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Protect / Unprotect Components

> Lock components in place in DeepPCB so the placement engine leaves them alone, or release them for the AI to position.

A protected component is fixed: the placement engine will not move it, and you cannot move, rotate, flip, or delete it either. Protect the parts whose position is decided by something other than routability — connectors, mounting holes, antennas, anything the enclosure pins down.

> [!TIP]
>
> Cooper can protect and unprotect components for you — see [Protect and Unprotect Components](https://docs.deeppcb.com/tutorials/how-to/cooper/protect-components.md).

## Protect One Component

1. Right-click the component on the board.
2. Select **Protect**.

## Unprotect It Again

1. Right-click the protected component.
2. Select **Unprotect**.

The component's **Status** in the side panel shows which it is. Either way, the change is pending until you click **Save** (the disk icon) in the toolbar.

<video autoPlay muted loop playsInline src="https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/edits-protect.mp4?fit=max&auto=format&n=X7Hy0HgSSYrG7K_B&q=85&s=0311ed0afdc3e6ff0f3cebfbbabe94a0" />

Protecting C1, then Unprotect — its Status switches each time — then Discard.

## Protect or Unprotect Everything

Open **Global Actions**, choose **Protect** or **Unprotect**, tick **Components**, and click **Ok**. See [Global Actions](https://docs.deeppcb.com/tutorials/how-to/global-actions.md).

> [!NOTE]
>
> Unprotected components hop to a staging area just outside the board outline when a placement job starts, and a job with everything protected produces no changes at all — see [Telling DeepPCB What to Place](https://docs.deeppcb.com/guides/placement.md#telling-deeppcb-what-to-place).

> [!NOTE]
>
> While a component is protected, **Rotate**, **Flip to bottom layer**, **Delete** and dragging are all unavailable on it. That is the point — but it is also the usual reason an edit appears to do nothing.

> [!TIP]
>
> The typical workflow: place the fixed components by hand, protect them, then run a **Placement** job so DeepPCB arranges everything else around them. See [Placement](https://docs.deeppcb.com/guides/placement.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.