Bought Pro? It is on your account. Sign in
SVG Creator Go Pro

Mail icon (free SVG)

In shortAn envelope is the standard icon for email, inbox, newsletters and "contact us" links. Download this mail icon free in four styles as a 24×24 SVG that uses currentColor; every file is under 1 KB and free for commercial use.

Style collections: outline · filled · duotone · glyph · Updated 2026-10-21

Mail icon, outline style, on a light backgroundMail icon, outline style, on a dark background
Outline · 272 bytes
Mail icon, filled style, on a light backgroundMail icon, filled style, on a dark background
Filled · 280 bytes
Mail icon, duotone style, on a light backgroundMail icon, duotone style, on a dark background
Duotone · 371 bytes
Mail icon, glyph style, on a light backgroundMail icon, glyph style, on a dark background
Glyph · 208 bytes

Variations

The same mail drawn four ways. Open any of them in the editor to recolour it, change the stroke, rotate or export PNG.

Mail icon at 16 pixels
16px
Mail icon at 20 pixels
20px
Mail icon at 24 pixels
24px
Mail icon at 32 pixels
32px
Mail icon at 48 pixels
48px

Code

Inline SVG (HTML)

<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="14" rx="2.5"/><path d="M3.8 6.8 12 13l8.2-6.2"/></svg>

React component

export default function MailIcon({ size = 24, color = "currentColor", ...props }) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      stroke={color}
      strokeWidth={2}
      strokeLinecap="round"
      strokeLinejoin="round"
      {...props}
    >
      <rect x="3" y="5" width="18" height="14" rx="2.5" />
      <path d="M3.8 6.8 12 13l8.2-6.2" />
    </svg>
  );
}

CSS mask (recolour with color)

.icon-mail {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.8 6.8 12 13l8.2-6.2'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.8 6.8 12 13l8.2-6.2'/%3E%3C/svg%3E") no-repeat center / contain;
}

Image tag

<img src="https://mumshadjawad.com/svg-creator/icons/mail-outline.svg" width="24" height="24" alt="">

Not sure which to use? See SVG icons in React, SVG icons in CSS and how to change an SVG icon's colour.

Details

Good for
email, inbox, newsletter, contact
Grid
24 × 24, viewBox="0 0 24 24", 2px safe area
Outline stroke
2px, round caps and joins
Shapes
2 elements (outline, classic)
File sizes
outline 272 B · filled 280 B · duotone 371 B · glyph 208 B
Licence
Free for personal and commercial use, no attribution required
Collections
UI icons for apps and websites, communication icons

Related icons

Need a different mail?

Describe it ("mail, minimal, rounded") and get four new variations.
Generate variations