Become an affiliate. Earn 20% recurring commission on every referralEarn 20% recurring commissionEarn 20% recurringApply Today
AE Shortcut

How to Loop an Animation in After Effects

To loop an animation in After Effects, keyframe one full cycle of the move, then Alt-click (Option-click on Mac) the property’s stopwatch and type loopOut("cycle"). After Effects repeats those keyframes to the end of the layer. To loop a whole precomp or a piece of footage instead, use time remapping or Interpret Footage.

Below are all three native ways, the stutter that catches everyone at the seam, and a free toolbar that loops a layer to the end of the comp in one click, as in the video.

Watch: one-click loops, freeze frames, wiggles and a QC scan in After Effects

Loop keyframes with loopOut

Keyframe one cycle

Animate the move once: a spin from 0 to 360 degrees of Rotation, a bob up and back down on Position, a pulse on Scale.

Add the expression

Alt-click (Option-click) the stopwatch next to the property, or choose Animation, Add Expression. Type loopOut("cycle").

Pick the loop type

"cycle" repeats from the first keyframe, "pingpong" plays forwards then backwards, "offset" adds each cycle on top of the last (handy for a spin or a walk), and "continue" carries on at the last keyframe’s speed.

Loop the start too

loopIn() does the same before the first keyframe, so a layer can already be moving when the comp starts.

For a seamless cycle, make the last keyframe’s value match the first. And watch the easing: Easy Ease on both ends makes the move pause at every seam. For a constant spin, use linear keyframes.

Pro Tip: The loop length is the time between the first and last keyframe. If a cycle should take exactly two seconds, put the last keyframe exactly two seconds after the first, and the rhythm holds for the whole comp.

Loop a precomp with time remapping

Enable time remapping

Select the precomp layer and choose Layer, Time, Enable Time Remapping (Ctrl+Alt+T, or Cmd+Option+T on Mac).

Extend the layer

Drag the layer’s out point to the end of the comp.

Add loopOut

Alt-click the Time Remap stopwatch and type loopOut().

Fix the seam

The last Time Remap keyframe sits one frame after the precomp’s final frame, which shows up as a blank or doubled frame at every loop. Move that keyframe back one frame.

Loop footage with Interpret Footage

For a video clip or an image sequence, select it in the Project panel and choose File, Interpret Footage, Main. Under Other Options, set Loop to the number of times you need, and the footage item becomes that much longer everywhere it is used.

The one-click way with Shortcut

Shortcut is a small docked bar where every button does one everyday job. Its Loop button takes selected footage or precomp layers out to the end of the comp with no stutter at the seam, and Shift-click makes it a ping-pong loop. The video runs through the whole bar:

Adjustment layer

Need an adjustment layer over these layers? One click, and it spans the selection.

Freeze frame

Want to hold this frame? Freeze frame adds a three second hold right above the layer, original untouched.

Loop layer

Want that logo spinning all comp long? Loop runs it to the end, stutter-free.

Wiggle

Need a little shake? Wiggle drops the expression straight onto Position.

Reverse keyframes

Animation running backwards? Reverse keyframes flips them in time, eases and all.

Un-precompose

Stuck inside a precomp? Un-precompose brings its layers back into the comp, timing and order kept.

QC scan

Before you render, QC scan marks every missing file and disabled layer.

Tool Spotlight · After Effects, Premiere Pro
Shortcut, one-click buttons for everyday jobs
Loops, freeze frames, adjustment layers, wiggles, reverse keyframes and a QC scan in one docked bar. Every result is ordinary After Effects work, so projects open anywhere. Free in Filmit Studio.
Get Shortcut free →

Quick reference

✓
A keyframed property

loopOut("cycle") or loopOut("pingpong") on the property. Shortcut’s Loop button is for footage and precomp layers.

✓
A precomp

Time remapping plus loopOut(), with the last keyframe moved back one frame. Or Shortcut’s Loop button.

✓
A clip or image sequence

Interpret Footage, Main, Loop.

✓
Undo in one step

Each Shortcut button is a single undo group in After Effects, so one Ctrl+Z (Cmd+Z) puts things back.

Or ask Claude or ChatGPT

For loops across many layers, the Filmit MCP can set expressions by asking, including ready-made loops, wiggles and bounces. "Add a pingpong loop to the Position of every layer named cloud" is one request, and it reads the comp first so it finds the right layers. Our guide to using Claude in After Effects shows the setup, and the After Effects MCP guide lists what else it can build.

For a longer tour of the bar, see Shortcut in After Effects. The same bar works in Premiere Pro, where our guide to adding an adjustment layer in Premiere Pro uses it. Handing the project off once it loops? Gather the loose media into one folder first. Shortcut is free in Filmit Studio, our free desktop app.

Frequently asked questions

Keyframe one cycle of the move, Alt-click (Option-click on Mac) the property’s stopwatch to add an expression, and type loopOut("cycle"). The keyframes repeat for the rest of the layer.

loopOut("cycle") jumps back to the first keyframe and plays the move again. loopOut("pingpong") plays it forwards, then backwards, then forwards, so it never jumps.

Select the precomp layer, choose Layer, Time, Enable Time Remapping, drag the layer’s end out to the end of the comp, and add loopOut() to the Time Remap property.

With a time-remapped precomp, the last Time Remap keyframe sits one frame past the precomp’s last frame. Move that keyframe back one frame. Shortcut’s Loop button handles the seam for you.

Yes. Shortcut is free, with no subscription and no payment. Install it from Filmit Studio, our free desktop app. It works in After Effects and Premiere Pro.

J
Written by
Jay · Filmit.io Customer Success Lead

Jay is the Customer Success Lead at Filmit.io. He helps editors and motion designers get more out of After Effects and Premiere Pro, with a focus on cutting the busywork out of everyday post-production.

Enjoyed this article?

Get new tutorials, tool updates, and filmmaking tips delivered to your inbox. No spam, unsubscribe anytime.

✦ 7-day free trial

Get Every Tool

Plugins, overlays, courses, and updates. All in one desktop app.

Download Filmit Studio