The basic format for typing an address

An address in the United States follows a standard order: street number and name, city, state, and ZIP code. When you type an address into a form or document, put each part on its own line, or separate them with commas if the form asks for a single line. The most common format looks like this:

123 Main Street Anytown, CA 90210

Some forms ask you to type the address all on one line separated by commas: 123 Main Street, Anytown, CA 90210. Other forms have separate boxes for street address, city, state, and ZIP code — in that case, type only the information that box asks for and leave the rest for the other boxes.

Key Takeaways

  • Street number comes first, followed by the street name, then city, state abbreviation, and ZIP code on separate lines or in the order a form requests.
  • Use the two-letter state abbreviation (CA for California, TX for Texas) unless the form specifically asks for the full state name.
  • Include the apartment, suite, or unit number on the same line as the street address if you have one: 123 Main Street, Apt 4B.
  • Check your address against mail you have received or a utility bill to make sure the spelling and number match exactly.
  • If a form has separate boxes for each part of the address, type only what that box asks for — do not put the city in the street address box.

How to handle apartment numbers and unit designations

If you live in an apartment, condo, or office suite, the unit number goes on the same line as the street address. Type it after the street name, separated by a comma. Common abbreviations are Apt (apartment), Ste (suite), Unit, and Bldg (building).

The correct format is: 123 Main Street, Apt 4B or 123 Main Street, Unit 12. Some forms have a separate box labeled "Apartment," "Suite," or "Unit" — if yours does, put the number in that box instead and leave it out of the street address box. Check your lease or a recent piece of mail to see exactly how your address is written, because mail carriers need the unit number to be correct.

State abbreviations and when to use them

Every U.S. state and territory has a two-letter postal abbreviation. Use these abbreviations when you type an address into any form, website, or document. The abbreviation goes between the city and the ZIP code. For example: Anytown, CA 90210 or Springfield, IL 62701.

The most common abbreviations are CA (California), TX (Texas), FL (Florida), NY (New York), PA (Pennsylvania), and IL (Illinois). If you are not sure of the abbreviation for your state, search online for "state postal abbreviations" and you will find a complete list. Some older forms or documents may ask for the full state name instead — in that case, spell it out completely, but most modern forms expect the two-letter code.

Typing addresses into online forms and websites

When you fill out an address on a website, look at what each box is labeled. Most sites have separate boxes for street address, city, state, and ZIP code. Type only the information that box asks for. If a box says "Street Address," type only the street number, name, and unit number — do not add the city or state.

Some websites have a box that says "Address Line 1" and "Address Line 2." Use Address Line 1 for the street number and name, and Address Line 2 for the apartment or unit number if you have one. If the site asks for "Full Address" in a single box, type it all on one line separated by commas: 123 Main Street, Apt 4B, Anytown, CA 90210.

After you type your address, many websites will show you a list of matching addresses to choose from. This is called address verification. Click the one that matches your address exactly — this helps make sure the address is correct and reduces the chance of mail being sent to the wrong place.

International addresses and addresses outside the United States

If you need to type an address in another country, the format is different. Most countries put the postal code before the city, and some use different terms for street or building numbers. For example, a Canadian address looks like: 123 Main Street, Anytown, ON A1A 1A1. A UK address looks like: 123 Main Street, Anytown, County AB1 2CD.

If you are typing an international address into a U.S. form, the form usually has a separate box to select the country. Choose the country first, and then the form may change to ask for the address in that country's format. If you are not sure of the exact format, search online for "address format [country name]" and you will find examples.

Common mistakes when typing addresses

The most common mistake is typing the apartment or unit number in the wrong place, or leaving it out entirely. If you live in an apartment, always include the unit number — mail carriers need it to deliver to the right place. Another mistake is using the wrong state abbreviation or misspelling the city name. Check your address against a recent bill, lease, or piece of mail you received to make sure every letter and number is correct.

Do not add extra words or punctuation that are not part of the address. For example, do not type "123 Main Street, Apt. 4B" if the form asks for just the apartment number — the period after "Apt" can sometimes cause problems with address verification systems. Stick to the format the form asks for, and use the exact spelling and abbreviations shown on your official mail.

What to do if your address does not fit in the form

Sometimes a form has a box that is too small for your full address, or it does not have a separate box for the apartment number. If the street address box is not long enough, try shortening the street name if possible — for example, type "Main St" instead of "Main Street." If the form still will not accept it, look for an "Address Line 2" box or a box labeled "Apartment" or "Unit."

If the form truly does not have room for your apartment number and has no separate box for it, type the apartment number at the end of the street address line, even if it makes the line long. The address verification system should still recognize it. If you get an error message, try removing any punctuation like commas or periods and try again. If the form still will not accept your address, contact the organization running the form — they may need to update their system.

Frequently Asked Questions

Should I use periods after abbreviations like "St" or "Ave"?

Modern address systems work better without periods. Type "Main St" instead of "Main St." and "Oak Ave" instead of "Oak Ave." Periods can sometimes cause problems with automated address verification, so most forms and postal services recommend leaving them out.

What if I do not know my ZIP code?

Search online for "ZIP code lookup" and enter your street address and city. The U.S. Postal Service website has a free tool that will show you the correct ZIP code. You can also call your local post office or check a recent piece of mail or utility bill.

Can I type a P.O. Box as my address?

Yes, but the format is different. Type it as: P.O. Box 123, Anytown, CA 90210. Some forms ask whether you have a street address or a P.O. Box — select P.O. Box if that is what you have, and the form will adjust the boxes to match.

What if my street name has a direction in it, like "North Main Street"?

Type the full street name exactly as it appears on your mail and official documents. If your address is "456 North Main Street," type it that way. Some people abbreviate directions as N, S, E, or W (456 N Main Street), and both versions are usually accepted, but matching your official mail is safest.

Do I need to capitalize every word in my address?

Capitalize the first letter of each word in the street name and city name: 123 Main Street, Anytown. Most modern forms will accept lowercase letters too, but capitalizing makes the address easier to read and matches how it appears on official mail.