Guide to Transparent Backgrounds: How to Make a Background Transparent in After Effects

Want to learn how to create transparent backgrounds in After Effects? From layer creation and object animation to transparency settings, here's our guide for how to make a background transparent in After Effects.

Guide to Transparent Background in After Effects: How to Make a Background Transparent in After Effects
Portrait for Lewis McGregorBy Lewis McGregor  |  Updated August 29, 2023

If you’ve been browsing the Elements Blog for some time, you’ve likely already acquired some top-notch After Effects skills. However, there is a specific formality to follow in the creation and exporting of your After Effects projects – ensuring your transparent background is active in both the composition and the export.

We’re here to walk you through the process of how to make a background transparent in After Effects – from setting up your composition to exporting your video with an alpha channel. Let’s dive in!

What Is a Transparent Background in After Effects?

Before diving into the technical aspects, you must understand what a transparent background means in After Effects. Let’s start with a test: Which composition from the following examples has a transparent background? One has a solid background layer, while the other has no solid color.

Example A of Transparent background guide
Example A
Example B of Transparent background guide
Example B

It’s tricky, right?

The answer is example B – that composition has no solid black color layer. Then why do both examples clearly show a solid black as the background? The Toggle Transparency Grid button has yet to be selected in example A. This button reveals a white and gray grid, indicating the transparent areas of the image. This parameter is usually selected by default when you create a new After Effects composition.

Transparent Grid

However, given that the After Effects interface can easily resemble the cockpit dashboard of a plane to a new user, it’s easy to accidentally toggle it and realize you need to work with a solid layer.

Why Use a Transparent Background?

With that covered, we can see that a transparent background refers to a video file that contains animation or effects without any visible background. This is commonly known as the alpha channel.

Now I hear you ask, what is the alpha channel? In simple terms, it refers to the additional channel in a video or image that stores the transparency information. Instead of an image consisting of RGB channels, it consists of RGB + Alpha, allowing the video or image format to inform the computer to negate the alpha channel information and only display the RGB values. The alpha channel works with the RGB channels (red, green, and blue) to create a composite image. The RGB channels determine the color and intensity of each pixel, while the alpha channel determines the pixel’s transparency or opacity.

If you are new to motion graphics, you may not realize it, but you’ll see transparent backgrounds in use all across video media, from YouTube videos to sports broadcasts. Lower thirds, transitions, titles, and mood effects like smoke, fog, and light leaks all use transparent backgrounds.

Using the alpha channel, you can composite elements such as text, graphics, or video footage onto different backgrounds or layers. The transparent areas in the alpha channel allow the underlying layers to show through, creating a seamless blend between the various elements.

How to Make Background Transparent in After Effects

Despite the importance of the transparent background, setting one up is a breeze. Let’s run through the process.

1. Set Up Your Composition

To create a transparent background in After Effects, you must first set up your composition. Consider the size of your composition and ensure it matches the dimensions of your final video project. If elements are animating on and off the screen, ensure the canvas size aligns with your desired output.

There are multiple ways to adjust the canvas size in After Effects:

  1. Set the canvas size when setting up the project.
  2. Access the composition settings by pressing Command or Control + K anytime.
  3. Use the Region of Interest tool to shrink the canvas size if you already have animated elements.

2. Create Layers and Animate Objects on a Transparent Background

Once your composition is ready to go, it’s time to create layers and animate objects on a transparent background. After Effects offers a wide range of tools and features to bring your creative vision to life; whether you’re working with text, shapes, or images, you can easily add them to your composition and apply animations. If you have yet to create your perfect motion graphic, you can find a ton of inspiration across the blog.

To create a transparent layer, follow these steps:

  1. Select the composition you want to work on within the timeline or project panel.
  2. Click on the Composition menu at the top of the application window.
  3. Choose Add to Render Queue from the dropdown menu.

By adding your composition to the Render Queue, you’re preparing it for the next steps of exporting and rendering.

3. Adjust Transparency Settings and Keyframes

While all these steps may seem like a lot, the motions will soon become second nature and, eventually, take you less than a minute to fulfill.

Before exporting your video with a transparent background, it’s essential to adjust the transparency settings and keyframes correctly. This step ensures that the desired elements are fully transparent when overlaid onto other footage or stacked as layers.

Here’s how to adjust transparency settings and keyframes:

  1. Toggle the transparency grid by clicking the Toggle Transparency Grid button at the bottom of the composition viewer. This allows you to see the transparent areas of your composition more clearly.
  2. Press Command or Control + K to access the composition settings.
  3. Change the composition background color to a different color, which won’t appear in the final output but will help you visualize the transparency.

You can ensure your composition is perfectly prepared for exporting with a transparent background by fine-tuning the transparency settings and keyframes.

How to Export an After Effects Video With a Transparent Background

Export setting for transparent background

Now that your composition is set up and transparency settings adjusted, it’s time to export your After Effects video with a transparent background. Follow these steps to achieve the desired result:

  1. Make sure your composition has a transparent background by toggling the transparency grid.
  2. Add your composition to the Render Queue by selecting it in the project panel and clicking Composition > Add to Render Queue or using the shortcut
    Control+Command+M (MAC) or Ctrl+M (PC).
  3. Select the desired output module options in the Render Queue window.
  4. Click on the Output Module settings and choose the format Quicktime.
  5. Under Video Output, select Animation as the video codec.
  6. Click Format Options and ensure the channels are set to RGB+ALPHA (remember that passage where I explained the importance of the alpha channel?
  7. Click OK to confirm the output module settings.
  8. Finally, click the Render button to export your video with a transparent background.

Once the rendering process is complete, you can import the video into After Effects or any other editing software supporting transparency. You’ll notice that your composition with a transparent background can now be seamlessly blended with additional footage or stacked as layers, allowing for creative possibilities.

How to Import and Apply to Other Projects

After exporting your video with a transparent background, you can easily import and apply it to other projects. The process may vary depending on your video editing software, but the general steps remain the same. Here’s an essential guide for importing and applying a video with a transparent background in popular software like Premiere Pro.

  1. Open your video editing software and create a new project or open an existing one.
  2. Import your footage or select the desired location in the timeline to apply the transparent video.
  3. Click File > Import or use the shortcut Command or Control + I to import the transparent video file.
  4. Drag the transparent layer above your footage in the timeline.
  5. Adjust the length and position of the transparent layer according to your requirements.

Following these steps, you can easily integrate your transparent video into your editing projects, adding depth and visual interest.

Common Troubleshooting Issues When Working with Transparent Backgrounds in After Effects

While it’s likely plain sailing from here, working with transparent backgrounds in After Effects can sometimes present issues. Here are some common challenges you may run into and some troubleshooting tips to overcome them:

  1. Having difficulty with background transparency? Double-check the composition’s transparency by toggling the transparency grid and adjusting the transparency settings and keyframes as necessary.
  2. Exported file too large? Transparent videos with alpha channels typically have larger file sizes. Consider adjusting the compression parameters during export or using a more efficient codec to reduce the size. 
  3. Issues while importing to other software? Make sure the software supports transparency and the file format in use. Consult the software’s documentation or support resources for more information. 
  4. Poor quality or artifacts in transparent regions? To improve the quality of these regions, adjust the compression settings during export. Experiment with different codecs and settings to get the best balance between file size and quality.

By being aware of these common issues and following the recommended steps, you can ensure your workflow with transparent backgrounds in After Effects is successful.

Tips for Creating Visually Stunning Videos with Transparent Backgrounds

Here are some tips to consider if you want to make visually impressive videos with a transparent background.

  1. Stack layers: Take advantage of the transparency of your composition by adding multiple layers and gradually building them up. Break down complex animations into several alpha layers to give you more control over the video edit.
  2. Incorporate effects: Adding effects enhances the visual impact of the transparent layers. Try different blend modes and color correction tools to make the layer blend better with the original shot. Include digital effects such as smoke or fog for a captivating atmosphere.
  3. Create a library: As you work on creating alpha layers, build a library of reusable elements. Effects, flourishes, and other visual elements can be saved and used for other projects, ultimately saving you time and effort. With these tips, you can produce visually stunning transparent background videos in After Effects.

Which Formats Support an Alpha Channel?

When working with transparent backgrounds, choosing the correct format that supports an alpha channel is essential. Here are some common video formats that include an alpha channel.

  • Quicktime Animation
  • AVI
  • Quicktime GoPro CineForm
  • Apple Animation
  • Apple ProRes 4444 XQ
  • Apple ProRes 4444
  • Avid Meridien Compressed
  • Avid Meridien Uncompressed
  • Avid DNxHD
  • Avid DNxHR
  • Cineon

These formats allow you to export and work with videos and images that preserve the transparency of information, enabling you to seamlessly integrate them into your projects.

Get Started with Transparent Backgrounds on Envato Elements Today

Creating videos with transparent backgrounds in After Effects opens up creative possibilities. Following the steps outlined in this guide, you can set up your composition, create layers and animations, adjust transparency settings, and export your video with a transparent background.

To continue brushing up on your After Effects skills, learn How to Time Remap in After Effects and How to Animate a Logo in After Effects. Or head to Envato Elements to peruse a huge selection of After Effects templates and start creating today. Happy editing!

Related Articles

Check Your Limit