Outlook Email Background Image Not Showing: Fix
Outlook email background image not showing? Learn why desktop Outlook drops it and how to fix it with a solid colour fallback and bulletproof VML code.
5 min read

On this page
If your Outlook email background image is not showing, the cause is almost always the same: Outlook for Windows (the desktop versions that use Word to render email) ignores the CSS background-image property. The fix is to add a VML fallback for Outlook, keep a solid background colour behind it, and make sure the image itself is publicly hosted. Gmail, Apple Mail and Outlook on the web handle normal CSS backgrounds fine, so the problem usually appears only in desktop Outlook.
Why does Outlook not show background images in email?
Desktop Outlook on Windows renders HTML email with the Microsoft Word engine, not a browser engine. Word has no real support for CSS background-image on tables, cells or divs, so the image is simply dropped and you see whatever colour is behind it, often white.
That is why a hero section with white text on a photo can turn into white text on a white page. The text is still there, but it is invisible.
Other reasons a background image fails, in any client:
- The image URL is relative, local, or behind a login, so it cannot load.
- The image is blocked until the reader clicks "download pictures". Outlook blocks remote images by default in many setups.
- The CSS is in a
<style>block or an external file that the client strips, instead of inline. - The image is attached to the wrong element, such as a
divthat Outlook ignores.
How do I fix a background image in Outlook?
Work through these steps in order.
1. Set a solid background colour first
Always add a bgcolor attribute and a background-color that is close to the image's dominant colour. If the image never loads, the section still looks intentional and your text stays readable. This single step prevents the worst failures.
2. Put the image on a table cell with the background attribute
Use a td, not a div. Add both the HTML background attribute and inline CSS. Some clients read one, some the other.
<td background="https://example.com/images/hero.jpg"
bgcolor="#1f2a44"
width="600" height="300" valign="top"
style="background-image:url('https://example.com/images/hero.jpg');
background-color:#1f2a44;
background-size:cover;
background-position:center;">
<!-- your content here -->
</td>This covers Apple Mail, Gmail and Outlook on the web. It still does not cover desktop Outlook.
3. Add VML for desktop Outlook
VML (Vector Markup Language) is the old Microsoft drawing format that Word understands. Wrap it in conditional comments so only Outlook sees it. This is the usual "bulletproof background" technique:
<td width="600" height="300" valign="top" bgcolor="#1f2a44"
background="https://example.com/images/hero.jpg"
style="background-image:url('https://example.com/images/hero.jpg');background-size:cover;">
<!--[if gte mso 9]>
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false"
style="width:600px;height:300px;">
<v:fill type="frame" src="https://example.com/images/hero.jpg" color="#1f2a44" />
<v:textbox inset="0,0,0,0">
<![endif]-->
<div>
<!-- your headline, text and button here -->
</div>
<!--[if gte mso 9]>
</v:textbox>
</v:rect>
<![endif]-->
</td>Note the details that people often miss:
- The
v:rectneeds an explicit pixel width and height. Outlook will not size it from the content. type="frame"stretches the image to fill the box. Usetype="tile"if you want it repeated.- The
coloronv:fillis the fallback colour. - Your content must sit inside
v:textbox, otherwise it renders behind or outside the image.
4. Declare the VML namespaces and Outlook settings
Some setups need the namespaces on the root element and an Outlook settings block in the head. Without it, images can scale oddly on high-DPI screens:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
</head>5. Check the image URL and size
Open the image URL in a private browser window. If it does not load without a login, Outlook will not load it either. Use an absolute https:// URL, keep the file reasonably small, and make sure the VML width and height match the cell.
Can I avoid VML completely?
Yes, and sometimes it is the better choice. If the background is decorative, use a solid colour for Outlook and let other clients show the image. If the text sits on the photo, consider putting the headline in normal HTML text below an ordinary <img> instead. An email that does not depend on a background image has fewer things that can break.
The trade-off: VML gives you the full design in Outlook, but it adds code that must be tested carefully, and it is awkward to edit by hand. Mailchimp and HubSpot visual editors will not generate it for you in custom code blocks, so you paste it into the HTML yourself.
How do I test it?
Do not trust a browser preview. Test in real desktop Outlook (Windows), plus Outlook on the web, Gmail and Apple Mail. Also test with images blocked, because that is how many Outlook readers first see your email. If you do not have Windows Outlook, use an email testing tool that renders in it. If you want help building tested sections like this, see my responsive HTML email template service. You can also try your code in the free email editor.
FAQ
Why is my email background image white in Outlook?
Desktop Outlook ignores CSS background images, so it shows the background colour behind them. Set a bgcolor that matches your design, and add a VML fallback if you need the image itself.
Does Outlook on the web support background images?
Outlook on the web renders in a browser engine, so standard inline CSS backgrounds usually work. The problem is mainly desktop Outlook for Windows, which uses the Word engine.
Should I use a background image or an img tag in email?
Use an img tag for anything important, because it works everywhere and supports alt text. Use a background image only when text must sit over the picture, and always add the solid colour and VML fallbacks.
Why do my background images not show even with VML?
Check that the v:rect has pixel dimensions, the content is inside v:textbox, the image URL is public and absolute, and the conditional comments are written exactly as gte mso 9. A typo in any of these makes Outlook skip the block silently.
Key takeaways
- Desktop Outlook uses the Word engine and ignores CSS
background-image, which is why your image disappears. - Always set a solid
bgcolorso text stays readable when the image does not load. - Use a
tdwith thebackgroundattribute plus a VMLv:rectwrapped ingte mso 9comments for Outlook. - Test in real Outlook with images blocked before you send.
Tags
- HTML Email
- Outlook Compatibility
- Email Development

About Keshur Gojiya
Web developer and HTML email specialist with 6+ years of experience, building websites and emails for businesses, startups and agencies.
Get to know me

