United States · USPS Publication 28 Standard

US Mailing Address Format Guide: Components, USPS Rules & Examples

Learn how to structure residential, apartment, and PO Box mailing addresses in the United States for accurate USPS delivery and checkout AVS validation.

Interactive Test Fixture Tool

Need format-valid test records following these exact rules? Generate sample addresses and export JSON, CSV, or SQL instantly.

Open US Address Generator

1. Core Address Components

United States mailing addresses follow the United States Postal Service (USPS) Publication 28 Addressing Standards, progressing strictly from the individual recipient down to the national ZIP routing zone. Because US credit card Address Verification Service (AVS) gateways and automated mail barcode readers parse each line independently, keeping secondary unit numbers, two-letter state abbreviations, and ZIP or ZIP+4 codes in their canonical positions dramatically reduces undeliverable-as-addressed (UAA) returns and payment declines.

1. Recipient / Business / Attention Line

Contains the individual addressee, company name, and optional Attention line ("Attn: Billing Department"). For residential parcels, this sits on line 1.

2. Primary Street Delivery Line

Consists of the primary street number (e.g., 742), optional pre-directional (N, S, E, W, NW), street name (Market), standardized street suffix (St, Ave, Blvd, Dr, Ln, Pkwy), and optional post-directional.

3. Secondary Unit Designator

Specifies an apartment, suite, or unit (e.g., Apt 4B, Suite 200, Unit 12). USPS prefers placing the unit at the end of the delivery line if it fits under 40 characters, or on the line immediately above the street line if space is tight.

4. City, State, and ZIP / ZIP+4 Line (Last Domestic Line)

Combines the full municipality name, a comma, the 2-letter uppercase USPS state abbreviation (such as CA, NY, TX, FL), a single space, and the 5-digit ZIP or 9-digit ZIP+4 code.

5. Country Line (International Inbound Only)

For domestic US mail, omit the country line. When shipping into the US from abroad, append UNITED STATES (or USA) in uppercase on the final line.

2. Field-by-Field Validation & Formatting Rules

USPS Two-Letter State Abbreviations

Always use official uppercase 2-letter USPS codes (CA, NY, TX, MA, WA, DC) rather than legacy abbreviations like "Calif." or "Mass." Note armed forces routing codes AA, AE, and AP for APO/FPO military mail.

Standardized Street Suffixes

USPS prefers concise uppercase or title-case abbreviations without periods: St (Street), Ave (Avenue), Blvd (Boulevard), Rd (Road), Dr (Drive), Ln (Lane), Ct (Court), Pkwy (Parkway), Way.

5-Digit ZIP vs. 9-Digit ZIP+4

Standard consumer checkouts require 5 digits (^\d{5}$), while banking lockboxes, tax engines, and enterprise freight platforms often capture optional ZIP+4 (^\d{5}-\d{4}$). Never drop leading zeros in zones 00501–09999.

Secondary Unit Punctuation

Avoid `#` symbols inside automated EDI forms if possible; prefer explicit USPS unit abbreviations `Apt`, `Ste`, or `Unit` followed by a space and alphanumeric identifier.

3. Three Correctly Formatted Examples

1. Residential Apartment Address (USPS Domestic)

Olivia Bennett
1480 Pine Street Apt 6B
Seattle, WA 98101

Places house number before street name, keeps Apt 6B at the tail of the street line, and pairs WA with 5-digit 98101.

2. Commercial Office / Lending Remittance with ZIP+4

Pacific Coast Servicing Corp
Attn: Payoff Processing Desk
450 Lexington Avenue Ste 1400
New York, NY 10017-3911
UNITED STATES

Includes Attention desk above street line and uses 9-digit ZIP+4 for accelerated USPS sorting.

3. US PO Box Mailing Label (New England Zero-Prefixed ZIP)

Liam Carter
PO Box 8421
Boston, MA 02108-8421

Preserves the mandatory leading zero in 02108 and avoids mixing a physical street line onto a PO Box envelope.

4. Two Common Formatting Mistakes to Avoid

1. Dropping the leading zero on Northeast ZIP codes

Newark, NJ 7102
Newark, NJ 07102

Treating ZIP codes as integer columns in CSVs or SQL databases truncates leading zeros across New Jersey, Massachusetts, Connecticut, Rhode Island, Maine, Vermont, and New Hampshire.

2. Putting a comma between the State code and ZIP code

Austin, TX, 78701
Austin, TX 78701

USPS Publication 28 places a comma after the city name only; a single space (with no comma) separates the 2-letter state code and ZIP.

Frequently Asked Questions

Should you put a comma between the US state and ZIP code?

No. Place a comma only after the city name (e.g., San Francisco, CA 94105), with one space between the state abbreviation and ZIP code.

Where do Apt or Suite numbers go in a US mailing address?

Place Apt, Suite, or Unit at the end of the street delivery line (e.g., 742 Market St Ste 410), or on the line immediately above the street line if the combined line exceeds 40 characters.

Can I generate US addresses with ZIP+4 for form testing?

Yes. Open our US Address Generator and toggle ZIP+4 to generate valid 9-digit format test samples across 12 major US cities.