The first two digits of a GSTIN are the GST state code of the state where the taxpayer is registered. Delhi is 07, Maharashtra is 27, Karnataka is 29 and Tamil Nadu is 33. The next ten characters are the taxpayer's PAN, so a GSTIN is partly a PAN you can already verify.
How is a GSTIN built?
A GSTIN has 15 characters. Reading from left to right:
| Position | What it holds | Example |
|---|---|---|
| 1-2 | State code | 27 (Maharashtra) |
| 3-12 | PAN of the taxpayer | ABCDE1234F |
| 13 | Number of registrations the same PAN holds in that state (1-9, then A-Z) | 1 |
| 14 | Default letter Z | Z |
| 15 | Check character | 5 |
So 27ABCDE1234F1Z5 is the first registration of PAN ABCDE1234F in Maharashtra. A second registration for the same PAN in Maharashtra, for a separate business vertical, would end in 2Z followed by its own check character.
GST state code list
Code 25 (Daman and Diu) is retired. Daman and Diu merged with Dadra and Nagar Haveli on 26 January 2020 and now uses 26. Andhra Pradesh has two codes because of the 2014 bifurcation: 28 is the old one and 37 is the current one.
| Code | State or UT |
|---|---|
| 01 | Jammu and Kashmir |
| 02 | Himachal Pradesh |
| 03 | Punjab |
| 04 | Chandigarh |
| 05 | Uttarakhand |
| 06 | Haryana |
| 07 | Delhi |
| 08 | Rajasthan |
| 09 | Uttar Pradesh |
| 10 | Bihar |
| 11 | Sikkim |
| 12 | Arunachal Pradesh |
| 13 | Nagaland |
| 14 | Manipur |
| 15 | Mizoram |
| 16 | Tripura |
| 17 | Meghalaya |
| 18 | Assam |
| 19 | West Bengal |
| 20 | Jharkhand |
| 21 | Odisha |
| 22 | Chhattisgarh |
| 23 | Madhya Pradesh |
| 24 | Gujarat |
| 26 | Dadra and Nagar Haveli and Daman and Diu |
| 27 | Maharashtra |
| 28 | Andhra Pradesh (old code, before the 2014 split) |
| 29 | Karnataka |
| 30 | Goa |
| 31 | Lakshadweep |
| 32 | Kerala |
| 33 | Tamil Nadu |
| 34 | Puducherry |
| 35 | Andaman and Nicobar Islands |
| 36 | Telangana |
| 37 | Andhra Pradesh (current) |
| 38 | Ladakh |
| 97 | Other Territory |
| 99 | Centre Jurisdiction |
Why the state code matters to a CA firm
- Place of supply. Comparing the supplier's state code with the place of supply decides CGST plus SGST versus IGST. A wrong code on an invoice is a wrong tax split.
- Return filing. A client with branches in three states has three GSTINs and three sets of returns. The state code is how you keep them apart.
- ITC matching. Supplier GSTINs in GSTR-2B carry their own state code. A typo in the first two digits is one of the common reasons an invoice fails to match.
Three quick checks before you key in a GSTIN
- The length is 15 characters and position 14 is Z.
- The first two digits are a real state code from the table above.
- Characters 3 to 12 match the PAN on the client's record. If the PAN differs, the GSTIN belongs to someone else.
Our free GSTIN validator runs the format and check-character test for you. For firm-wide work, keep every GSTIN on the client record so a return is always filed against the right state.
State code versus location of the firm
A CA firm in Delhi may handle clients in Haryana, Uttar Pradesh and Rajasthan. The GSTIN prefix follows the client's registration, not your office. If you work across NCR, see how we set up the workflow on our GST compliance page for Delhi, or browse all cities.
Keep every client's GSTINs, states and return status in one place.
Start Free TrialFrequently Asked Questions
What are the first two digits of a GSTIN?
They are the GST state code of the state or union territory where the taxpayer is registered, for example 07 for Delhi and 27 for Maharashtra.
What is the GST state code of Telangana?
Telangana uses 36. Andhra Pradesh uses 37, and the older code 28 belonged to undivided Andhra Pradesh.
Does the GST state code change if a business moves?
No. A GSTIN is tied to the registration in a state. A business that starts operating in a new state needs a new registration there, with a new GSTIN.
Which GST code is used for Ladakh?
Ladakh uses 38.
What do codes 97 and 99 mean?
97 is for Other Territory and 99 is for Centre Jurisdiction.