After Effects Loop Tutorial: Create Endless Motion Graphics

Harold Sep 19, 2026

After Effects, a powerful digital visual effects, motion graphics, and compositing application developed by Adobe, has a range of loops that facilitate seamless integration of clips and simplify the animation process. Understanding and manipulating these loops can significantly enhance your editing and design capabilities.

the after effects logo is shown in purple and blue with an arrow pointing to it
the after effects logo is shown in purple and blue with an arrow pointing to it

One of the most fundamental loops in After Effects is the loop expression. This built-in expression automatically adjusts the duration of an animation to match the duration of the composition, ensuring a consistent playback length regardless of how long your project is.

How to create an Amazing loop animation in After Effects
How to create an Amazing loop animation in After Effects

The Loop Expression

The loop expression, represented by the word 'loop' in the expression editor, dynamically adjusts the start and end times of an animation to maintain its duration. This is particularly useful when you want to create animations that automatically adapt to changes in the composition length, saving you precious editing time.

Loop Animation | After Effects Tutorial | Tutorial
Loop Animation | After Effects Tutorial | Tutorial

Here's a simple breakdown of how it works. Suppose you've created an animation that lasts for 5 seconds. By default, if the composition's length changes to, say, 10 seconds, the animation will simply stop playing at the 5-second mark. However, with the loop expression, the animation will loop seamlessly, playing twice in this case, to fill the entire 10-second duration.

Using the Loop Expression

The Bounce - Loop
The Bounce - Loop

To apply the loop expression, open the Time stretch or Length & Units properties of an animation, then Alt+click (Option+click on Mac) the stopwatch next to the property to view the expression. Type 'loop' in the text field and hit Enter. The loop expression is now applied, and your animation will automatically loop based on the composition's length.

To remove the loop expression, simply delete the word 'loop' in the Expression Controls text field, or click the small 'LOOP' icon next to the stopwatch to toggle the expression on or off.

Adding Limits to the Loop Expression

loopOut Expressions Explained: A Journey in After Effects
loopOut Expressions Explained: A Journey in After Effects

While the loop expression's default behavior is usually sufficient, you can add limitations to control how many times an animation loops. To do this, you need to adjust the loop expression slightly. Instead of simply typing 'loop', you can write 'numeric Wrap (loop, min, max)', where 'min' and 'max' represent the minimum and maximum number of loops respectively.

For instance, if you want an animation to loop at most three times, regardless of the composition length, you'd use the expression 'numeric Wrap (loop, 0, 3)'. This ensures that the animation loops no more than three times, even if the composition length is much longer.

Looping Animations Manually

Hypnotic Looping Background (Beginner After Effects Tutorial)
Hypnotic Looping Background (Beginner After Effects Tutorial)

While expressions provide a powerful way to create looping animations, you might sometimes want to control the looping manually. This is where the set-up for manual_looping comes in handy.

To create a manually looping animation, follow these steps. First, make sure your composition's Looping option is set to 'None' in the Composition panel's timeline header. Next, select the keyframes of the animation you wish to loop, then drag a copy of them to a new time in the timeline. This creates a loop of your animation that you can manually control.

Motion in After effects
Motion in After effects
Create Beautiful Visual Loops in After Effects | Motion Graphics Tutorial
Create Beautiful Visual Loops in After Effects | Motion Graphics Tutorial
Video Looping Trick in After Effects
Video Looping Trick in After Effects
an abstract background with the words looping background in white and purple letters on it
an abstract background with the words looping background in white and purple letters on it
How to Loop Compositions PERFECTLY | After Effects Tutorial
How to Loop Compositions PERFECTLY | After Effects Tutorial
the title for how to jungle loop animation, with an image of trees and plants
the title for how to jungle loop animation, with an image of trees and plants
Frosted glass effect loop | After Effects Tutorial
Frosted glass effect loop | After Effects Tutorial
How to make geometry loop animation in after effects | motion graphics
How to make geometry loop animation in after effects | motion graphics

Adjusting the Loop Duration

By default, the manually created loop will have the same duration as your original animation. If you want to adjust the loop's duration, you can simply slide any of the keyframes to the right or left in the timeline. This shortens or lengthens the loop, respectively.

Alternatively, you can use theEraser tool to remove unwanted keyframes, effectively shortening the loop's duration. Remember, removed keyframes can't be recovered, so it's a good idea to work on a copy of your original animation to avoid accidental loss of data.

Understanding and effectively using looping features in After Effects can save you significant time and effort in your projects, making your workflow more efficient. Whether you're a seasoned professional or just starting out, mastering these loops can greatly enhance your post-production skills.