Is there a way to lock all but the selected object(s) inside a layer in Illustrator when working with many layers? Instead of individually locking all of them.

4 Answers 4


To lock/hidden layers except one:

  • open layer panel (F7)
  • holding ALT key click on Visibility or Lock icon

To lock all items on some layer except selected you can lock all other layers first as it was mentioned and then use inverse selection (Select->Inverse) and lock (object->lock).


Yes - Lock Others

....a somewhat hidden shortcut.

With the object(s) you want to remain unlocked selected... hit...


It's a key command for the menu Object > Lock > Other Layers.
It's just the Lock shortcut with Option/Alt and Shift added.

It will lock everything that is not selected, across all layers/artboards.


Select all the layers you want locked, select the panel options button, click "Options for Selection", and make sure "Lock" is checked and press OK.


Also, one thing I discovered way too late is that when hiding/showing a lot of layers, you can just click and drag over the "eye" icon instead of clicking every single one individually. So just click and hold the eye icon, and swoop down to hide all the layers you want hidden. Saves a lot of time for me at least.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.