Skip to content

Instantly share code, notes, and snippets.

@aaronhoffman
Created October 29, 2018 21:32
Show Gist options
  • Save aaronhoffman/d7a598efb593e3acf5e0a39c0dd8b52a to your computer and use it in GitHub Desktop.
Save aaronhoffman/d7a598efb593e3acf5e0a39c0dd8b52a to your computer and use it in GitHub Desktop.
United States Postal Codes to State Maps. source: https://www.irs.gov/pub/irs-utl/zip%20code%20and%20state%20abbreviations.pdf
StateName StateCode CondensedPostalCodeRanges
Alabama AL 35000-35299;35400-36999
Alaska AK 99500-99999
Arizona AZ 85000-85399;85500-85799;85900-86099;86300-86599
Arkansas AR 71600-72999
California CA 90000-90899;91000-92899;93000-96199
Colorado CO 80000-81699
Connecticut CT 06000-06389;06391-06999
Delaware DE 19700-19999
District of Columbia DC 20000-20099;20200-20587;56900-56999;20589-20597;20599
Florida FL 32000-33999;34100-34199;34200-34299;34400-34499;34600-34699;34700-34799;34900-34999
Georgia GA 30000-31999;39800-39999
Hawaii HI 96701-96798;96800-96899
Idaho ID 83200-83413;83415-83899
Illinois IL 60000-62099;62200-62999
Indiana IN 46000-47999
Iowa IA 50000-51699;52000-52899
Kansas KS 66000-66299;66400-67999
Kentucky KY 40000-41899;42000-42799
Louisiana LA 70000-70199;70300-70899;71000-71499
Maine ME 03900-04999
Maryland MD 20588;20600-21299;21400-21999
Massachusetts MA 01000-02799;05500-05599
Michigan MI 48000-49999
Minnesota MN 55000-55199;55300-56799
Mississippi MS 38600-39799
Missouri MO 63000-63199;63300-64199;64400-65899
Montana MT 59000-59999
Nebraska NE 68000-68199;68300-69399
Nevada NV 88900-89199;89300-89599;89700-89899
New Hampshire NH 03000-03899
New Jersey NJ 07000-08999
New Mexico NM 87000-87199;87300-88499
New York NY 00500-00599;06390;10000-14999
North Carolina NC 27000-28999
North Dakota ND 58000-58899
Ohio OH 43000-45999
Oklahoma OK 73000-73199;73400-73959;73961-74199;74300-74999
Oregon OR 97000-97999
Pennsylvania PA 15000-19699
Rhode Island RI 02800-02899;02900-02999
South Carolina SC 29000-29999
South Dakota SD 57000-57799
Tennessee TN 37000-38599
Texas TX 73300-73399;73960;75000-77099;77200-79999;88500-88599
Utah UT 84000-84799
Vermont VT 05000-05499;05600-05999
Virginia VA 20100-20199;20598;22000-24699
Washington WA 98000-98699;98800-99499
West Virginia WV 24700-26899
Wisconsin WI 53000-53299;53400-53599;53700-54999
Wyoming WY 82000-83199;83414
StateName StateCode PostalCodeRangeStart PostalCodeRangeEnd
New York NY 00500 00599
Massachusetts MA 01000 02799
Rhode Island RI 02800 02899
Rhode Island RI 02900 02999
New Hampshire NH 03000 03899
Maine ME 03900 04999
Vermont VT 05000 05499
Massachusetts MA 05500 05599
Vermont VT 05600 05999
Connecticut CT 06000 06389
New York NY 06390 06390
Connecticut CT 06391 06999
New Jersey NJ 07000 08999
New York NY 10000 14999
Pennsylvania PA 15000 19699
Delaware DE 19700 19999
District of Columbia DC 20000 20099
Virginia VA 20100 20199
District of Columbia DC 20200 20587
Maryland MD 20588 20588
District of Columbia DC 20589 20597
Virginia VA 20598 20598
District of Columbia DC 20599 20599
Maryland MD 20600 21299
Maryland MD 21400 21999
Virginia VA 22000 24699
West Virginia WV 24700 26899
North Carolina NC 27000 28999
South Carolina SC 29000 29999
Georgia GA 30000 31999
Florida FL 32000 33999
Florida FL 34100 34199
Florida FL 34200 34299
Florida FL 34400 34499
Florida FL 34600 34699
Florida FL 34700 34799
Florida FL 34900 34999
Alabama AL 35000 35299
Alabama AL 35400 36999
Tennessee TN 37000 38599
Mississippi MS 38600 39799
Georgia GA 39800 39999
Kentucky KY 40000 41899
Kentucky KY 42000 42799
Ohio OH 43000 45999
Indiana IN 46000 47999
Michigan MI 48000 49999
Iowa IA 50000 51699
Iowa IA 52000 52899
Wisconsin WI 53000 53299
Wisconsin WI 53400 53599
Wisconsin WI 53700 54999
Minnesota MN 55000 55199
Minnesota MN 55300 56799
District of Columbia DC 56900 56999
South Dakota SD 57000 57799
North Dakota ND 58000 58899
Montana MT 59000 59999
Illinois IL 60000 62099
Illinois IL 62200 62999
Missouri MO 63000 63199
Missouri MO 63300 64199
Missouri MO 64400 65899
Kansas KS 66000 66299
Kansas KS 66400 67999
Nebraska NE 68000 68199
Nebraska NE 68300 69399
Louisiana LA 70000 70199
Louisiana LA 70300 70899
Louisiana LA 71000 71499
Arkansas AR 71600 72999
Oklahoma OK 73000 73199
Texas TX 73300 73399
Oklahoma OK 73400 73959
Texas TX 73960 73960
Oklahoma OK 73961 74199
Oklahoma OK 74300 74999
Texas TX 75000 77099
Texas TX 77200 79999
Colorado CO 80000 81699
Wyoming WY 82000 83199
Idaho ID 83200 83413
Wyoming WY 83414 83414
Idaho ID 83415 83899
Utah UT 84000 84799
Arizona AZ 85000 85399
Arizona AZ 85500 85799
Arizona AZ 85900 86099
Arizona AZ 86300 86599
New Mexico NM 87000 87199
New Mexico NM 87300 88499
Texas TX 88500 88599
Nevada NV 88900 89199
Nevada NV 89300 89599
Nevada NV 89700 89899
California CA 90000 90899
California CA 91000 92899
California CA 93000 96199
Hawaii HI 96701 96798
Hawaii HI 96800 96899
Oregon OR 97000 97999
Washington WA 98000 98699
Washington WA 98800 99499
Alaska AK 99500 99999
@aaronhoffman
Copy link
Author

aaronhoffman commented Oct 29, 2018

note:

  • Each state may have multiple ranges.
  • The min and max postal codes associated with a given state may overlap with the extent of a different state (ex: NY and CT).
    • However, no single zip code is associated with multiple states.
  • Not every possible zip code falls within a state range. (ex: 00001)
  • The start and end values of a range may be the same value. In the condensed CSV version, these are displayed as a single number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment