Photoshop exports extra transparent space around artwork

Trim an export copy to the visible artwork without changing the fixed canvas used by your working document.

Quick answer

For an image with genuinely transparent outer margins, save a separate working copy and choose Image > Trim > Transparent Pixels. Select the sides you want to remove. This reduces the canvas around the artwork; it does not enlarge or sharpen the artwork itself.

In this guide
Applies to

Photoshop desktop on Windows and macOS; a normal document with transparent outer margins. Not a batch artboard export or background-removal workflow.

Decide whether the empty space is actually unwanted

Before trimming, check the required output dimensions. An icon set, an overlay, or a replacement asset may depend on a fixed canvas so that every file aligns in the receiving project. In that case, keep the original size even when much of it is transparent.

Trimming is useful when you want an individually cropped asset, such as a logo whose file bounds should sit near the visible mark. Keep the larger layered original and export the trimmed copy under a different filename. Do not overwrite a file that another project already places by its existing dimensions.

Use transparency as the trimming rule

  1. Open the copy and confirm that the outside margin shows Photoshop's transparency checkerboard rather than a white layer.
  2. Choose Image > Trim, then Transparent Pixels.
  3. Enable Top, Bottom, Left, and Right for a tight boundary on all sides, or leave a side unchecked if its spacing must stay.
  4. Inspect the result before saving the new asset.

Adobe's Trim documentation says this option keeps the smallest bounds containing nontransparent pixels. The corner-color options use a different rule. Do not select one simply because the preview background looks white; that would change what you are asking Photoshop to remove.

If a margin remains

Look closely at the outer edge before trimming again. A pale shadow, faint mark, or partially transparent pixel may be content rather than empty canvas. If you find something there, decide whether it belongs in the export. Do not erase it solely to make the file dimensions smaller.

As a diagnostic on the copy, compare the visible result with a suspect layer temporarily hidden. If that changes the boundary, inspect that layer's content or effect. Restore any layer needed for the finished asset before saving. This comparison helps locate the cause; it is not a reason to flatten the master document.

After export, open the saved asset and inspect both its edge and its dimensions. Place it into a copy of the destination layout if placement matters. The useful result is the right boundary with the artwork intact, not merely a smaller file.

If Trim leaves clearly empty edges even in a simple copy, use the Community link on Adobe's guide. Include the Photoshop version, whether the file uses masks or effects, and a non-sensitive example. For lost image content after cropping, see the separate crop-recovery guide.

Sources

Based on official documentation; not independently tested. Sources checked Oct 1, 2026. How we review guides

Something out of date? Let us know.

Related fixes