To make an animated gif in photoshop, load your frames (or a short video) into Photoshop as layers, open Window > Timeline, choose Create Frame Animation, then Make Frames From Layers; set frame delays and looping to Forever, and export via File > Export > Save for Web (Legacy) as GIF while adjusting Colors, Dither, Lossy, and image size to balance quality and file size.
If you just want a reliable starting point, use 0.08–0.10 s per frame, set Looping Options to Forever, and export with GIF format, Colors 128, Dither 88–100 percent, Lossy 5–10, and a resized width of about 600–800 px to keep the file under roughly 5 MB for sharing; if Save for Web is missing, use File > Export > Export As > GIF or enable it in Preferences > Export by checking Use Legacy Save for Web.

Animated GIF in Photoshop: the 2‑minute version
This is the fastest workflow that works for most cases and current Photoshop versions.
- Load your source: for photos, choose File > Scripts > Load Files into Stack, select your image sequence, and check Attempt to Automatically Align Source Images if they were handheld. For a short video clip, choose File > Import > Video Frames to Layers, then limit the range and reduce the frame rate (for example, 10–15 fps).
- Open the Timeline: go to Window > Timeline. Click the dropdown in the middle and select Create Frame Animation, then click it to build the first frame.
- Build frames from layers: click the Timeline panel menu (four lines icon) and choose Make Frames From Layers. If the sequence plays backward, choose Reverse Frames from the same menu.
- Set timing and loop: Shift‑select all frames, click a frame delay and choose 0.08–0.10 seconds for a smooth look. Set the loop to Forever.
- Preview: press Play in the Timeline. If it stutters, remove near‑duplicate frames or tweak delays on individual frames.
- Export: File > Export > Save for Web (Legacy). Choose GIF, set Colors to 128, Dither to 88–100 percent (Noise or Pattern), Lossy to about 5–10, and resize in the Image Size box to 600–800 px wide. Save.
- If Save for Web is missing: File > Export > Export As > GIF, or enable Use Legacy Save for Web in Preferences > Export. Aim for under 5 MB for easy sharing.
Prep your frames: photos, video, or design layers
Clean source material gives you the biggest win on quality and file size. If you start with photos, try to keep them the same dimensions so Timeline builds a consistent frame stack. Load the sequence via File > Scripts > Load Files into Stack and enable alignment if the camera was handheld. If the frames were shot on a tripod, leave alignment off to avoid unnecessary warping.
For video, go to File > Import > Video Frames to Layers. In the dialog, set a short range and enable Limit To Every N Frames to bring the effective frame rate down to about 10–15 fps. That’s a good balance for GIFs, which are palette‑limited. Avoid long clips. Duration is the number one contributor to huge files.
Color and bit depth matter. Switch to Image > Mode > RGB Color and 8 Bits/Channel. For web consistency, choose Edit > Convert to Profile and set the destination to sRGB IEC61966‑2.1. This reduces color surprises after export and helps the palette generator in Save for Web produce cleaner results.
Trim early. If you only need 1.5 seconds, don’t keep 5 seconds of frames. Fewer frames and a smaller canvas are the two most effective ways to reduce file size without ugly artifacts. If you plan to composite a subject onto a clean background, finish the cutout before you animate. If you need a refresher on clean extractions, see this step‑by‑step guide to removing backgrounds in Photoshop.
If you are new to layer management, masks, and smart objects, you might want to skim this beginner’s primer first: How to Use Adobe Photoshop for Beginners. A tidy layer stack keeps animation work quick and reversible.
Build and pace the animation in Timeline
Open Window > Timeline. In the center of the panel, choose Create Frame Animation and click it. Photoshop creates a first frame based on visible layers.
From the Timeline menu, choose Make Frames From Layers to automatically convert every layer into a frame. If your frames run in reverse, choose Reverse Frames. Drag frames to change order. You can add “holds” by duplicating a frame (Timeline menu > Copy Frame, then Paste After Selection) and giving it a longer delay. To apply a global delay, Shift‑select all frames, click the delay below any frame, and choose or type a value like 0.08–0.10 seconds. For snappier motion, go faster (0.05–0.07 s); for gentle fades or text legibility, go slower (0.12–0.20 s).
Set looping to Forever unless you intend the animation to stop. Press Play to preview. If playback stutters, look for redundant frames with nearly identical content; deleting a few often smooths motion while cutting kilobytes. Consider grouping related layers into Smart Objects before positioning or scaling across frames. Smart Objects maintain quality when you transform repeatedly, which is helpful for moving logos or icons.
For non‑destructive edits during animation work, stick to masks and adjustment layers. If you want a deeper foundation in reversible editing, bookmark our complete guide to a non‑destructive photo editing workflow.
Export and optimize with Save for Web (Legacy)
File > Export > Save for Web (Legacy) remains the most controllable way to export a GIF. In the dialog, choose GIF as the format. Set Palette to Selective (good all‑round), set Colors between 64 and 256, and pick Dither type (Noise or Pattern) with an amount around 88–100 percent for smoother gradients. Add a small Lossy value (0–15) to shave extra bytes without wrecking edges. In Image Size, resize to your target width and enable Bicubic Sharper for downscaling. At the bottom left, watch the file size estimate.
Looping Options should be set to Forever. If your destination requires a one‑off loop, change it to Once or type a custom count. On the right, the preview pane shows artifacts as you nudge settings. If your gradients posterize, increase Colors or Dither slightly, or add a touch of noise to the original artwork before export to break up bands.
| Use case | Target width | FPS | Colors | Dither | Lossy | Looping | Est. file size |
|---|---|---|---|---|---|---|---|
| Social share (chat/apps) | 600–720 px | 10–12 | 128 | 88–100% Noise | 5–10 | Forever | 0.5–3 MB |
| Email inline | 500–600 px | 8–10 | 64–128 | 88–100% Noise | 5–12 | Forever | 0.4–2 MB |
| Website hero (short loop) | 900–1000 px | 12–15 | 128–256 | 88–100% Noise | 5–8 | Forever | 1.5–6 MB |
| Sticker/emoji‑style | 256–400 px | 8–12 | 32–64 | 88–100% Pattern | 0–5 | Forever | 0.1–1 MB |
If Save for Web is not available on your install, use File > Export > Export As and choose GIF. You will see fewer controls, but the same levers matter: size, colors, dithering and looping. To restore the legacy exporter, go to Edit > Preferences > Export and check Use Legacy Save for Web.
Keep file size small without ugly artifacts
GIF is limited to 256 colors per frame, so quality and size are a balancing act. Here is a simple order of operations that preserves clarity while keeping the file light.
- Resize first. Shrink width before anything else. Going from 1200 px to 720 px often cuts the size by more than half with minimal perceptual loss.
- Limit duration. Trim the clip to the shortest loop that still tells the story. A tight 1–2 seconds is often more memorable than a wandering 7 seconds.
- Reduce frame rate. If you imported at 15 fps, try 12, 10, or even 8 for stylized motion.
- Cull near‑duplicates. Remove frames that add little change or produce stutter.
- Lower Colors gradually. Step down from 256 to 128, then to 64 for flatter artwork.
- Use high Dither (88–100 percent). Dither hides banding in gradients; Noise usually looks more natural than Pattern for photographic images.
- Apply modest Lossy (5–15). It often trims 10–25 percent without destroying edges. Watch fine text and logos closely as you increase.
- Stick to sRGB and 8‑bit. Non‑sRGB or 16‑bit documents can cause color shifts or export failures.
- Test on light and dark. If the GIF will sit on different backgrounds, preview both to catch halos.
- Choose another format when needed. For long or photo‑real clips, MP4 or WebP will look smoother at a fraction of the size. For smooth transparency, APNG is a better choice than GIF.
Transparent GIFs and clean edges
Transparency in GIF is 1‑bit. A pixel is either fully opaque or fully transparent; semi‑transparent edges are not supported. That is why anti‑aliased curves can look jagged and why halos appear on unknown backgrounds.
To tame halos, set Matte in Save for Web to match your page background color. Photoshop blends edge pixels to that color during quantization so the transition looks cleaner. If your GIF will sit on multiple backgrounds, consider avoiding anti‑aliased edges near transparency, use a small solid stroke, or place your animation inside a rounded rectangle with fully opaque edges. High‑contrast, limited‑color graphics hold up best.
If your project truly needs smooth soft edges and translucent shadows, switch to APNG for browsers that support it or publish MP4/WEBM for social feeds and websites. GIF does not handle semi‑transparency gracefully.
Add text and simple effects
Text works best when it is clear, big enough, and repeats across frames. Add a Type layer, choose a strong sans serif, and place it where it will not flicker against detailed backgrounds. To animate type‑on effects, duplicate the frame multiple times and change the text’s visibility or content progressively (e.g., reveal one or two words per frame). For fades, simulate the fade by stepping layer Opacity through 100, 75, 50, 25 across successive duplicate frames.
Logos and icons are easiest to handle as Smart Objects. Convert the layer to a Smart Object, then transform or position it per frame for bounces or slides. Shape layers also compress well because they keep edges crisp at low color counts.
Before you export, give the stack a quick tidy: name layers, group related elements, and collapse any hidden experiments. If the animation is part of a larger composite or effect, our tutorial on creating special effects in Photoshop might spark ideas you can adapt to motion.
Optimization checklist
- Resize canvas to the smallest width that fits the destination (often 600–800 px).
- Trim duration to the tightest readable loop.
- Reduce fps to 8–12 for stylized motion, or 12–15 for smoother loops.
- Remove near‑duplicate frames to reduce stutter and size.
- Set Colors to 64–128 for most scenes; push to 256 only when needed.
- Use Dither around 88–100 percent to soften gradients and avoid banding.
- Add Lossy 5–15 to shave extra kilobytes; watch edges and small text.
- Ensure Image > Mode is RGB and 8‑bit; convert profile to sRGB.
- Preview on both light and dark backgrounds to catch halos.
- If the file is still heavy or the scene is photo‑real or long, prefer MP4 or WebP; use APNG for clean transparency.
Troubleshooting and when not to use GIF
Timeline button is greyed out or missing
Make sure your document is in RGB and 8‑bit (Image > Mode). Close other open documents that are using the video timeline. Reopen Window > Timeline.
Save for Web seems to be missing
Use File > Export > Export As > GIF. To restore the legacy exporter, choose Edit > Preferences > Export and enable Use Legacy Save for Web, then restart if needed. Many users still prefer the legacy dialog for its detailed GIF controls.
My animation plays backward
Open the Timeline panel menu and choose Reverse Frames. If you built frames from layers, check your layer order (topmost becomes the first frame by default).
Colors look wrong or gradients band
Confirm you are in sRGB (Edit > Convert to Profile > sRGB IEC61966‑2.1). In Save for Web, raise Colors and Dither slightly. For heavy gradients, add tiny noise to the source (1–2 percent) before export to reduce banding in the limited palette.
File is way too big
Shrink the width first, then cut frames or reduce fps, then reduce Colors (128 → 64) and raise Lossy slightly (5–15). If your animation is still heavy or looks photographic, export MP4 or WebP instead. GIF excels at short, graphic loops and simple motion.
Transparency has jagged edges or halos
Remember that GIF transparency is 1‑bit. Set Matte to the page color in Save for Web, simplify edges, and prefer solid strokes. If you need soft transparency, switch to APNG or MP4 over a background.
Performance is slow while previewing
Close other large documents, collapse groups, and lower preview zoom. Consider converting large raster layers into Smart Objects and trimming hidden content outside the canvas to lighten the working file.
For bigger composites that later become animated assets, you will save time by building with masks and smart layers from the start. Our guide to non‑destructive tools and workflows outlines habits that keep edits flexible across projects.
GIF is not the only answer. When your goal is smooth video or photographic realism, MP4/H.264 or WebP offers much better compression and color fidelity. When your goal is crisp graphics with smooth transparency, APNG is the better fit. Use GIF for short, bold loops, simple text or icon motion, and meme‑style reactions.
With the workflow above and the settings in the cheat sheet, you can build a clean, light animation quickly, and you will spend more time designing the motion than fighting export surprises.