Table of contents:
Digital passport photos are now standard for most online applications, but the rules behind them are anything but uniform. In this guide, we answer the key practical questions about digital passport photos and walk through real-world examples from three major jurisdictions: the United States, the United Kingdom, and Canada.
If you are applying for a passport or visa in another country, you can still use this article as a reference point and check the dedicated pages on our Knowledge portal for the exact local requirements.
A digital passport photo is a biometric ID photo saved as an image file and uploaded directly to an online application system. It has different properties from a printable (or already printed) photo. So, if your application form specifies “digital photo uploads only,” carefully read this Guide to create a correct file and avoid rejections or delays.
A digital passport photo must comply with a strict set of technical requirements that define the properties of a file you must submit with your application. These official photo standards are set by the issuing authority of your country — for example, the U.S. Department of State, His Majesty’s Passport Office in the UK, or Immigration, Refugees, and Citizenship Canada — and follow the biometric rules for machine-readable documents of the International Civil Aviation Organization Doc 9303.
What it means in practice is that your digital file must both match the concrete technical properties for a particular document type — for example, 600 × 600 pixels, saved as a JPEG, with a file size of 240 KB — and be fully biometrically aligned so automated systems can read and accept it. The face (including eyeline and mouth line) must be properly proportioned in the shot, the colour and contrast should fall into an acceptable range, and the crop must leave sufficient space around the head.
There are two main ways to get a digital passport photo:
Take a photo yourself and use a reliable online passport photo maker/editor to convert it into a correct digital format for your application
Go to a studio, a pharmacy, a retail store, or a photo booth that provides digital files, specifically created for your document type.
The core goal is equal in all countries: to get a sharp, clean, properly proportioned, and well‑lit portrait on a plain background — with the file settings that match your authority’s current digital specs. Today, the first option is gaining popularity across continents because it doesn’t require a visit to a studio and saves the applicant both time and cash. When using an online photo-editing tool, it can take you less than a minute to obtain an application-ready digital photo.
You can obtain a digital passport photo from photo studios, major pharmacy chains, post office counters, self‑service booths, and online passport photo makers/editors. Studios and booths that advertise “digital passport photos” or “online application photos” can usually email you a JPEG file, save it to a USB drive, or generate a photo code that you enter directly into the online form, while online tools let you convert a photo taken at home into a standards‑compliant digital image.
In the US, chains such as Walgreens, CVS, and Walmart, along with many independent studios, offer U.S.‑compliant passport and visa photos and can provide a digital JPEG formatted for online passport renewal or visa uploads.
In the UK, high‑street services at Boots, supermarket kiosks, and Post Office branches frequently provide digital passport photos as a UK photo code plus an optional JPEG file for HM Passport Office online applications.
In Canada, providers like Shoppers Drug Mart, Staples, and local photo labs that handle IRCC specifications can not only shoot 35 × 45 mm passport/visa photos but also deliver a digital JPEG or JPEG2000 file ready for upload, where Canadian portals accept electronic photos.
Your photo’s technical parameters are the first thing most online systems check before they accept your file. They include the allowed file format, pixel dimensions, file size, color profile, and minimum image quality.
File format and color profile. Most online systems expect a color JPEG file; some also accept closely related formats like HEIF or PNG, but only when explicitly listed in the official instructions. The image is usually required to be in the standard sRGB color profile so that colors and skin tones render correctly across different devices and printers.
Pixel dimensions and aspect ratio. Digital passport photos must fall within a fixed pixel range, with minimum and maximum width and height values defined for each application type. The aspect ratio is also strict: some systems require a perfect square image, while others enforce a portrait‑style rectangle that matches the printed photo format.
File size and compression. Your digital photo must sit inside the published minimum and maximum file size for that application, and still keep enough pixels and JPEG quality so that your face looks clean and readable when zoomed in, without obvious blocky squares or smudged details.
Image quality and originality. The file has to be a clear, well‑lit, in‑focus image with natural skin tones, not blurry, pixelated, overexposed, or underexposed. Most systems also require an original digital file, not a scan of a printed photo, and they automatically reject images that show obvious retouching or AI‑style alterations of facial features.
Absolutely not. Even within a single country, different authorities — and even different application types within one authority — set distinct digital photo specifications. Immigration, Refugees and Citizenship Canada, for example, uses one set of rules for passport photos and another for permanent resident cards; similarly, the U.S. Department of State has separate digital requirements for online passport renewal, non‑immigrant visa applications, and Diversity Visa entries.
In the US, the Department of State requires a square color image on a plain white or off‑white background, sized between 600 × 600 and 1200 × 1200 pixels, taken within the last 6 months, with a neutral expression and no glasses. Digital passport photos are accepted for Diversity Visa Lottery entries, non-immigrant visa entries, and online passport renewals.
For UK online passport applications, HM Passport Office requires digital photos of 600 × 750 pixels minimum, with a plain light grey or cream background and a file size between 50 KB and 10 MB.
For Canada, IRCC requires digital photos sized 1,800 × 1,200 to 4,500 × 3,000 pixels / 200 KB-5 MB for passport applications, and 715 × 1000 and 2000 × 2800 pixels / 4 MB max, JPG or PNG format for PR card applications.
A digital passport photo is an image file you upload to an online application system, where software checks its format, pixel dimensions, file size, and color profile before accepting it.
A printable passport photo is a physical photo on high‑quality photographic paper at a fixed size (for example, 2 × 2 inches or 35 × 45 mm). The passport offices/consulates/embassies/visa centers staff check ID photo prints by eye for the correct size, print quality, and any damage, such as creases, scratches, or fading.
For online submissions, only pixel width, height, and file size matter — the DPI value in the metadata is ignored. DPI matters when the photo is printed: there must be enough detail to fill the required paper size at 300–600 pixels per inch so that the printed passport photo remains sharp and not visibly pixelated.
Below is the step‑by‑step digital photo upload process using a U.S. online passport renewal as an example. Before you begin, make sure your digital photo meets the official online requirements for format, pixel dimensions, file size, background, and appearance.
Sign in to your MyTravelGov account or create a new one.
Start a DS‑82 renewal application and complete the personal and eligibility sections until you reach the “Upload Digital Photo” step.
On the “Upload Digital Photo” page, click the upload button and choose your digital photo file from your device in one of the allowed formats (JPG, PNG, HEIC, or HEIF) and within the 54 KB–10 MB file‑size range.
Confirm the preview and wait for the automatic checks to run; if the file passes, the photo is attached to your application and you proceed to the next step. If it fails, you will receive an error message and must upload a corrected image.
To convert a physical passport photo to digital, you must use a scanner or visit a photo studio that offers this service. Here are the guidelines for doing it at home:
Set the scanner to 600 DPI.
Use 24‑bit color.
Disable automatic “enhancement” filters such as sharpening, dust removal, or color correction.
Place the original print flat on the scanner glass.
Scan the photo in color.
Use the scanner preview to crop tightly around the photo so borders and scanner glass are not included.
Save the file as a JPEG in the sRGB color profile.
Use an online passport photo maker to adjust the image to your document’s specifications instead of trying to match all pixel and file‑size requirements manually.
A digital photo for U.S. passport renewal is the image file you upload with an online DS‑82 application form. Digital passport photos are only accepted for passport renewals — first-time passport applicants submit in-person.
Digital photo for a passport renewal must follow the standard U.S. passport photo rules (recent, neutral expression, white or off‑white background, no glasses) and meet the Department of State’s online digital requirements: a color JPG, PNG, HEIC, or HEIF file with a size between 54 KB and 10 MB, taken within the last six months, sharp, in focus, and free from filters or AI‑style editing.
Digital passport photo size is defined in pixels and varies by country and document type. You should never try to guess it from the printed size, as it may lead to wrong pixel values and automatic rejections. The correct pixel size ensures enough detail for biometric analysis without creating files that are unnecessarily large or rejected by the system.
For U.S. digital submissions (passports and visas), the image must be square and between 600 × 600 and 1200 × 1200 pixels. For online passport renewal, any square size in this range is accepted if the file size is between 54 KB and 10 MB. For U.S. non-immigrant visas and Diversity Visa photo uploads, the same 600–1200 px square range applies, but the file size must not exceed 240 KB.
For UK digital passport photos, the online system accepts high‑resolution JPEG images between 50 KB and 10 MB; in practice, most compliant tools generate vertical images around 600 × 750 to 900 × 1200 pixels so that the head size and crop match HM Passport Office templates.
For online Canadian passport renewals, the digital photo must be in portrait orientation with a 3:2 aspect ratio between 1,800 × 1,200 and 4,500 × 3,000 pixels, JPEG format, and a file size of about 200 KB–5 MB. For Canadian citizenship applications submitted online, the required digital size is 420 × 540 pixels, JPEG format, usually at 600 DPI, with a file size between 240 KB and 4 MB. For Canadian permanent resident (PR) card online applications, the digital photo must be between 715 × 1000 and 2000 × 2800 pixels, in JPG or PNG format, with a file size up to 4 MB.
To take a compliant digital passport photo with an iPhone, create a simple home setup, take a photo, and use a reliable passport photo maker to convert it into an official digital passport photo.
Stand in front of a plain light background (white or off‑white for the US, light grey/cream for the UK, light neutral for Canada)
Use soft, even lighting, ideally daylight from a window in front of you, to avoid shadows and color casts.
Use the rear camera. Place the iPhone on a tripod or have someone else hold the phone at your eye level, about 5–6.5 feet (1.5–2 meters) away.
Look directly into the camera with a neutral expression. Keep your eyes open and mouth closed. Don’t smile or frown.
Take a few shots and choose the best one. It must be sharp, evenly lit, without visible shadows around your head, body, or face, or in the background.
Upload your photo to an online passport photo maker. Choose your country and the document type — the system will automatically adjust your portrait to the current government requirements.
Download your final photo in a digital format.
A digital passport photo code is a unique reference generated by studios and photo booths that links your application to a stored digital photo. Instead of uploading an image file, you type this code into the online form, and the system retrieves the pre‑checked photo from the provider’s database.
This approach is widely used in the UK for HM Passport Office online applications, where many photo booths and studios issue photo codes on the receipt or printout. You then type this code into the HM Passport Office online application, and the service retrieves the JPEG image, which already meets UK digital photo rules (600 × 750 pixels minimum and 50 KB–10 MB).
In the U.S., government portals generally require you to upload the photo file directly rather than using a standardized photo‑code system. Some commercial vendors may still generate internal links or order numbers for their own workflows, but these are not used as official “photo codes” that you can enter into the U.S. government online forms.
In Canada, another practice is common: instead of photo codes, digital photos must be applied together with a letter from a studio, officially confirming the applicant’s name, date of birth, the date the photo was taken, and the studio’s address.
Yes. Most countries accept selfies if they are fully biometrically aligned with official standards and requirements. We don’t encourage you to use a “raw” selfie for your application — rather, convert it into an official ID photo with a reliable passport photo maker / an online photo-editing tool / a photo-making app.
To do so, you must produce a sufficient selfie first — sharp, taken in daylight with no shadows on the face or an even, light background, looking directly into the camera with a neutral expression and mouth closed.
To convert your portrait into an official digital passport photo, upload it to an online tool and choose your document type. The automatic system will match your image to the official photo template, producing a downloadable digital file that you can submit with your application.
No. For all official ID, passport, and visa photos, you must keep a neutral expression: mouth closed, no teeth showing, and both eyes open. Biometric systems are calibrated to detect faces with neutral expressions — strong smiles or frowns change the geometry of key facial features and reduce match reliability.
A slight, natural relaxation of the face, a so-called “Mona Lisa smile,” is acceptable, but try to avoid any expression that will throw an automatic detection system off and can affect your whole application.
You should wear everyday clothing in solid or simple patterns that contrast with the light background.
For the US, this means regular clothes, no uniforms or camouflage; for the UK and Canada, the same rule applies — no clothing that appears to be a uniform or strongly suggests an official role.
Religious dress is generally allowed in all three countries as long as it is worn daily for religious reasons and does not cover or cast heavy shadows on the face.
Avoid white tops against white backgrounds, as well as large decorative accessories or shiny jewelry that draw attention away from the face or create glare.
Mostly not, but that depends on the country and the document type. But because it is difficult to control reflections and shadows, the most reliable approach is to remove glasses entirely before taking the photo.
For US passports and visas, glasses are not allowed in photos except in rare documented medical cases; even then, they must not produce glare or hide the eyes.
UK and Canadian guidance is similar: glasses should be removed unless absolutely necessary, and any allowed glasses must have clear lenses, no reflections, and frames that do not obscure the eyes.
Sunglasses and tinted lenses are not accepted in digital passport and visa photos anywhere in the world.
Always start with official sources. Compare your digital image against the published rules for your authority: file format, pixel size, file‑size range, background colour, head size, expression, and glasses rules.
For the U.S., check the “Digital photo Requirements” on a passport or visa page; for the UK, the “Get a passport photo” guidance at HM Passport Office; for Canada, the IRCC pages that describe digital photo requirements for passports, visas, PR cards, or citizenship.
Keep in mind that authorities provide their own photo cropping tools — like a USDS Photo Tool — that you can use to adjust your digital photo to official requirements.
Last but not least, you can use online services by Googling “US passport photo checker”, “US visa photo checker, “UK passport checker”, or “Canada visa checker.” These handy tools analyze background, head size, cropping, and basic technical parameters of your image. They are very useful in catching technical and framing mistakes before you submit. PhotoGov also offers a casual-to-formal clothes change, as well as professional lighting correction to increase chances of your digital photo’s swift approval.
Rejections usually fall into two categories: technical file problems and visual/biometric non‑compliance.
Technical problems include:
Wrong file format: uploading anything other than the formats explicitly allowed for that application (for example, PNG or HEIC, where the rules only permit JPEG/JPG, or an outdated format that the portal does not recognise).
Wrong pixel dimensions: submitting an image that is not square, where a square is required, does not match the prescribed portrait aspect ratio, or falls below/above the published pixel range for that specific online service.
File size outside the allowed range: sending a file that exceeds the maximum upload limit for that form (for example, over 240 KB for some visa and DV Lottery uploads) or is so small that it drops below the minimum quality threshold set in the digital photo rules.
Visual/biometric issues include:
Non‑uniform or dark backgrounds
Shadows on the face
Incorrect head size
Head tilt
Expression other than neutral
Wearing glasses
Using filters and retouching that change your appearance.
International authorities increasingly rely on automated online checks combined with manual review, so even subtle deviations will trigger a digital photo rejection.
First, read the reason given: is the rejection about the file (format, size, pixel dimensions) or about the image itself (background, head size, glasses, expression, filters)?
If the problem is purely technical, regenerate the file in a passport photo editor that is configured for the current digital specifications of your authority. Always follow the exact pixel range, file‑size limits, and allowed formats from the latest online photo instructions for your document type.
If the problem is visual or biometric, retake the photo under better conditions. Adjust background, lighting, camera distance, and expression to meet the applicable rules.
Process the new photo with a passport photo maker before resubmitting. Re‑upload it in the replacement‑photo step or with a new application, as instructed in the rejection message.
Take the production of your digital passport photos seriously: for example, if your DV lottery photo is rejected, you cannot resubmit it within the same application, and you lose the application year.
For a digital passport or visa photo, authorities check pixels and file size, not the DPI value stored in the file. If your image has the correct pixel dimensions (for example, 600 × 600 px for many U.S. uploads) and passes the online checker, it makes no difference whether the metadata says 72, 300, or 600 DPI.
DPI only really matters when the same file is printed. A 300 DPI print is considered the minimum acceptable quality for document photos; for instance, a 600 × 600 pixel file printed at 2 × 2 inches gives exactly 300 DPI and is sharp enough for inspection and biometric analysis. If you are preparing a photo only for online submission and do not plan to print it, you can ignore DPI and simply make sure you meet the official pixel and file‑size requirements for your specific application.
The easiest way to crop your digital passport photo to the correct size is to use a passport photo editor that applies the official government template (for example, US Visa, Canada Passport, UK Passport) automatically.
You upload a well‑lit portrait with a plain, uniform background, select the country and document type, and the system adjusts the crop, aspect ratio, pixel size, and head position to match the current requirements for that authority.
After processing, you simply download the ready digital file and use it in your online application; you do not need to make any adjustments yourself.
What are the Common Mistakes When Taking a Digital Passport Photo?
Common mistakes fall into two main groups: visual/biometric issues and technical file problems.
The most frequent visual errors are:
uneven or harsh lighting that creates strong shadows on the face or background;
busy, dark, or coloured backgrounds instead of a plain light one;
incorrect head size or positioning (too large, too small, off‑centre, or with a head tilt instead of a straight frontal view);
non‑neutral facial expression, half‑closed eyes, or looking away from the camera;
disallowed or problematic accessories such as reflective glasses, tinted lenses, or headwear that obscures the hairline or facial features.
Typical technical mistakes include:
wrong proportions or aspect ratio for the specific digital process;
pixel dimensions or file size outside the allowed range for that application;
saving the file in a format the system does not accept (for example, uploading PNG or HEIC where only JPEG/JPG is allowed).
Another increasingly common reason for rejection is digital alteration. Filters, “beauty” apps, skin‑smoothing, aggressive colour correction, and AI enhancement can change skin texture, eye shape, or the overall look of the face, while authorities explicitly require a natural, unretouched likeness that can be used for biometric matching, and automated checks are getting better at spotting obvious retouching.
Yes, Walgreens provides digital photos as part of the in‑store $16.99 passport photo package. Staff will take a photo of you, produce two printed 2 × 2-inch images that meet U.S. passport rules, and provide you with a free digital copy sent to your email.
Yes, but CVS doesn’t offer it as a standalone feature. You must purchase a printed passport-size photo for $17.99, and pay an extra $3.99 for a digital copy.
Costs vary by country and by whether you pay for capture plus processing or only for processing/printing.
In the US, retail chains such as Walgreens charge $16.99 for a passport photo service that includes taking the photo and providing two 2 × 2 inch prints, with a free digital copy sent via email. At CVS, the same service costs $17.99, plus an extra $3.99 for a digital copy.
In the UK, high‑street photo shops and post office counters commonly charge between 10 and 16 GBP for a passport photo service that includes either a digital photo code for HM Passport Office or a combination of code and prints.
In Canada, photo studios and chain stores often charge around 15–25 CAD for a set of printed passport or visa photos in the 35 × 45 mm format that meets IRCC specifications.
A typical digital passport photo from online services costs about 5–15 USD, depending on the provider. At PhotoGov, you pay 5.90 USD for converting your original picture into an official digital ID photo that matches all official requirements for your document. The price also includes five additional versions of the same image with your casual clothes replaced by formal attire and the lighting adjusted to a professional level, which can improve the overall acceptance rate.
PhotoGov.net strictly adheres to the Global regulations for ID photos.
US Digital Passport Photo Rules: The US Department of State — Travel
US Digital Visa Photo Rules: The US Department of State — Travel
The US Department of State’s Photo Tool: The US Department of State — Travel
USCIS Photo Tool: US Citizenship and Immigration Services
UK Digital Passport Photo Rules: His Majesty’s Passport Office
Canada Digital Passport Photo Rules: Immigration, Refugees, Citizenship Canada
Biometric Regulations for International ID Documents: International Civil Aviation Organization (ICAO) Document 9303
Authored by:
Nathaniel K. RowdenApproved by Association of Visa center
On this page:
We value your Privacy
We use cookies to enhance your browsing experience, serve personalized ads or content. By clicking “Accept All”, you consent to our use of cookies.