Shimla STD code

The STD code of Shimla is 0177. Dial it before a Shimla landline number when you call from a mobile or from a landline in another town. From outside India, dial +91 177 instead.

STD code
0177
From outside India
+91 177
Landline digits after the code
7
State
Himachal Pradesh
DoT National Numbering Plan, checked 16 November 2026

Codes from the Department of Telecommunications' National Numbering Plan 2003, Annex II (list of SDCA codes), dated 1 April 2003, from dot.gov.in. Place names are shown with today's spelling; the DoT list uses older ones.

How to dial a Shimla landline

The examples use the made-up number 1234567. Put the real landline number in its place.

Calling fromWhat to dialExample
A landline in the same area (Shimla)The number only1234567
A landline in another part of India0, the STD code, the number0177 1234567
A mobile phone in India0, the STD code, the number0177 1234567
Any phone outside India+91, the STD code without its 0, the number+91 177 1234567

Other STD codes near Shimla

These towns are in the same long distance charging area (Shimla) in the DoT list. Each has its own code, so a call between them is dialled with the 0 and the code.

PlaceSTD code
Kalpa01786
Pooh01785
Rampur Bushahar01782
Rohru01781
Theog01783

Questions people ask

What is the STD code of Shimla?

The STD code of Shimla is 0177. From outside India it is +91 177, without the 0.

Is the Shimla code 0177 or 177?

Both are right. 177 is the code itself and the 0 in front is the long-distance prefix you add when calling from elsewhere in India. Lists often print it as 0177.

How many digits is a Shimla landline number?

7 digits after the code, because the STD code and the number together make 10 digits. With the 0 in front, the full number is 11 digits, for example 0177 1234567 (a made-up number).

How do I call a Shimla landline from the USA, the UK or the Gulf?

Dial + (or your country's international prefix), then 91, then 177, then the 7-digit number. The ISD code page lists the prefix for each country.

More for Shimla