A Guide to Precomposing in After Effects

Johnathan Paul

Here's a quick guide to Precomposing in After Effects.

As we all know when working in After Effects our timeline panel can quickly become oversaturated with dozens if not hundreds layers. This can lead to a lot of confusion, which can be frustrating when you're trying to get job out to a client. Luckily for us there's a nifty feature called pre-composing that allows you to group and organize multiple layers in After Effects. With that in-mind let’s take a look at how to precompose in After Effects.

What is Precomposing?

Precomposing is the process of packaging a series of layers into a new composition in After Effects. In a way it's the same as grouping layers in Photoshop.

By grouping these layers together you can  add animation, effects, or masks that will then be applied to all of the layers within.

2 - Creative Cow Example.jpg
Standard Precomposition Courtesy of Creative Cow

What is Precomposing for?

Precomps are used mainly to help organize complex compositions. But let’s take a look at some of the specific reasons to use a precomp.

  • Precomps can organize your timeline by grouping certain layers together, freeing up room in the timeline and making it easier to navigate a complex composition.
  • You can build an animation in one composition and then add that composition to another. This is also known as nesting.
  • Precomposing allows artists to apply keyframes, effects, and other layer changes to a precomposition layer, and therefore affect all of the grouped layers within.
Standard Precomposition Courtesy of Creative Cow

How to Precompose

Here's how to Precompose in After Effects:

  1. Highlight the Layers You Want to Precompose.
  2. Navigate to Layer > Precompose.
  3. Name Your Precomp, Select Your Options, and Click 'OK'.

Tip: To access your original layers double-click the pre-comp.

Precompose via top menu Layer > Precompose

Now that you know the basic steps, let's get into a real-world case study of using precompose in After Effects


Precomposing is actually a very simple process that can be used on complex and simple animations. Let’s use a simple text animation as an example. In the image below I have three text layers that I want to animate.

3 - Timeline Panel.jpg
1. Locate the layers you want to add an animation to.

To start things off I highlight my text layers and hit the “P” key on the keyboard to access the position transform option. I then apply a few keyframes that were staggered across the timeline, which created a subtle animation. Nothing fancy, just a simple animation where the text pops in from outside the composition frame.

2. Add animation keyframes to your layers.

This animation by itself is ok, but I want the pop ins to a be a little tighter and not appear directly from the edge of the frame.

I'm going to add a mask to the layers. However, since I’ve animated the position of the text, if I apply a mask then the mask position will be animated alongside the text...

This looks like a job for a pre-comp!

So I'll select all three layers then right-click and select “precompose. You can also hit Command+Shift+C. If you have more than one layer selected you will only be able to select the "Move all attributes" setting in the pre-comp window. This will move all of your animation keyframes and effects to the pre-composed composition.

3. Highlight the layers, right-click and select pre-compose.

With my layers now grouped into a new composition I’m going to select this precomposition layer and draw a large mask around where I want my text to appear. I’ll also make a quick adjustment to the feather that way it simulates a fade in.

4. Apply blanket effects, masks, or adjustments to the layers within the pre-comp.

By adding the mask above I've just added a little more to the animation to give it a nice smooth feel. Now, if you need to go back and adjust any of the text layers don’t worry you can still easily access those by double-clicking the precomposition layer in the timeline panel. Once you do this a new tab will open and you then have access to adjust the original text layers however you want.

5. Double-click the pre-comp to access the original layers.

After accessing my original layers by double-clicking the precomp I went back in and adjust the font style and size. Any changes I made were automatically seen in the precomp, so all I had to do from there was add to the render queue. Let's take a look at what our results look like.

The final results from our Case Study.

What's the Difference Between Precomposing and Nesting?

As you can see precomposing layers in After Effects is a pretty simple process. And it can definitely be used to great effect when working in complex compositions.

But remember that when working with these complex compositions you’ll find that it's usually beneficial to add an existing composition to another composition. This process is called nesting.

8 - Complex Composition.jpg
A more complex composition with nesting.

While precomposing is the process of placing a group of layers into a new composition, nesting is placing an existing composition into the timeline.

Now you have tools to conquer precomposing. You're going to use this technique all the time.

Success! Check your email (including spam folder) for your download link. If you haven't yet confirmed your email with us, you'll need to do that one time.
Oops! Something went wrong while submitting the form.