The history of rail transport in India began in the mid-nineteenth century. The core of the pressure for building Railways In India came from London. In 1848, there was not a single kilometre of railway line in India. The country's first railway, built by the Great Indian Peninsula Railway (GIPR), opened in 1853, between Bombay and Thane.[4] A British engineer, Robert Maitland Brereton, was responsible for the expansion of the railways from 1857 onwards. The Allahabad-Jabalpur branch line of the East Indian Railway had been opened in June 1867. Brereton was responsible for linking this with the GIPR, resulting in a combined network of 6,400 km (4,000 mi). Hence it became possible to travel directly from Bombay to Calcutta. This route was officially opened on 7 March 1870 and it was part of the inspiration for French writer Jules Verne's book Around the World in Eighty Days. At the opening ceremony, the Viceroy Lord Mayo concluded that "it was thought desirable that, if possible, at the earliest possible moment, the whole country should be covered with a network of lines in a uniform system".[5]

By 1875, about £95 million were invested by British companies in India. Guaranteed railways.[6] By 1880 the network had a route mileage of about 14,500 km (9,000 mi), mostly radiating inward from the three major port cities of Bombay, Madras and Calcutta. By 1895, India had started building its own locomotives, and in 1896, sent engineers and locomotives to help build the Uganda Railways.

In 1900, the GIPR became a government owned company. The network spread to the modern day states of Ahom Kingdom, Rajputhana and Madras Presidency and soon various autonomous kingdoms began to have their own rail systems. In 1905, an early Railway Board was constituted, but the powers were formally vested under Lord Curzon.[7] It served under the Department of Commerce and Industry and had a government railway official serving as chairman, and a railway manager from England and an agent of one of the company railways as the other two members. For the first time in its history, the Railways began to make a profit.

In 1907 almost all the rail companies were taken over by the government. The following year, the first electric locomotive made its appearance. With the arrival of World War I, the railways were used to meet the needs of the British outside India. With the end of the war, the railways were in a state of disrepair and collapse.

In 1920, with the network having expanded to 61,220 km (38,040 mi),[8] a need for central management was mooted by Sir William Acworth. Based on the East India Railway Committee chaired by Acworth, the government took over the management of the Railways and detached the finances of the Railways from other governmental revenues.

The period between 1920 and 1929, was a period of economic boom; there were 41,000 mi (66,000 km) of railway lines serving the country; the railways represented a capital value of some 687 million sterling; and they carried over 620 million passengers and approximately 90 million tons of goods each year.[9] Following the Great Depression, the railways suffered economically for the next eight years. The Second World War severely crippled the railways. Starting 1939, about 40% of the rolling stock including locomotives and coaches was taken to the Middle East, the railways workshops were converted to ammunitions workshops and many railway tracks were dismantled to help the Allies in the war. By 1946, all rail systems had been taken over by the government.

Indian Railway is governed by the The Railways Act,1989. Apart from this, there are also individual legislation specifically enacted for the protection, maintenance of the Indian Railway,The Railway Passengers,Safeguarding the Rights of Children in Contact with Railways, Railway Property etc. Such legislation include:[10]-

The Railways Act, 1989

The Railways (Amendment) Act, 2008

The Railways Amendment Act 2008 No 11 of 2008 [ 28 March 2008.] An act further to amend, the railway act 1989. BE it enacted by the Parliament in the fifty ninth year of the Republic of Indiaas follows :- 1. Short title & Commencement - This Act may be called the Railways amendment act 2008,(2) It Shall be deemed to have come in to force on the 31st Day of January 2008.

Indian Railways is the world's eighth largest employer, by number of employees, with over 1.307 million employees as of last published figures in 2015.[11] As for rolling stock, IR holds over 239,281 Freight Wagons, 62,924 Passenger Coaches and 9,013 Locomotives (43 steam, 5,345 diesel and 4,568 electric locomotives).[12] The trains have a 5 digit numbering system and runs 12,617 passenger trains and 7421 freight trains daily.[13] As of 31 March 2013, 20,884 km (12,977 mi) (31.9%) of the total 65,436 km (40,660 mi) route length was electrified.[14] Since 1960, almost all electrified sections on IR use 25,000 Volt AC traction through overhead catenary delivery.

Indian Railways is divided into 17 zones,which are further sub-divided into divisions. The number of zones in Indian Railways increased from six to eight in 1951, nine in 1952 and seventeen in 2003.[15][16] Each zonal railway is made up of a certain number of divisions, each having a divisional headquarters. There are a total of sixty-eight divisions.[17][18]

Each zone is headed by a general manager, who reports directly to the Railway Board. The zones are further divided into divisions, under the control of divisional railway managers (DRM). The divisional officers, of engineering, mechanical, electrical, signal and telecommunication, accounts, personnel, operating, commercial, security and safety branches, report to the respective Divisional Manager and are in charge of operation and maintenance of assets. Further down the hierarchy tree are the station masters, who control individual stations and train movements through the track territory under their stations' administration.

Staff are classified into gazetted (Group 'A' and 'B') and non-gazetted (Group 'C' and 'D') employees.[21] The recruitment of Group 'A' gazetted employees is carried out by the Union Public Service Commission through exams conducted by it.[22] The recruitment to Group 'C' and 'D' employees on the Indian Railways is done through 20 Railway Recruitment Boards and Railway Recruitment Cells which are controlled by the Railway Recruitment Control Board (RRCB).[23] The training of all cadres is entrusted and shared between six centralised training institutes.

Indian Railways manufactures much of its rolling stock and heavy engineering components at its six manufacturing plants, called Production Units, which are managed directly by the Ministry. Popular rolling stock builders such as CLW and DLW for electric and diesel locomotives; ICF and RCF for passenger coaches are Production Units of Indian Railways. Over the years, Indian Railways has not only achieved self-sufficiency in production of rolling stock in the country but also exported rolling stock to other countries. Each of these production units is headed by a general manager, who also reports directly to the Railway Board. The production units are:-

Delhi Metro Rail Corporation Limited (DMRC), that has constructed and operates Delhi Metro network, is an independent organisation not connected to the Indian Railways. Similar metro rail corporations in other cities (except Kolkata Metro in Kolkata) are not connected to the Indian Railways.

Locomotives in India consist of electric and diesel locomotives. The world's first CNG (Compressed Natural Gas) locomotives are also being used.[26]Steam locomotives are no longer used, except in heritage trains. In India, locomotives are classified according to their track gauge, motive power, the work they are suited for and their power or model number. The class name includes this information about the locomotive. It comprises 4 or 5 letters. The first letter denotes the track gauge. The second letter denotes their motive power (Diesel or Alternating - on Electric) and the third letter denotes the kind of traffic for which they are suited (goods, passenger, Multi or shunting). The fourth letter used to denote locomotives' chronological model number. However, from 2002 a new classification scheme has been adopted. Under this system, for newer diesel locomotives, the fourth letter will denote their horsepower range. Electric locomotives don't come under this scheme and even all diesel locos are not covered. For them this letter denotes their model number as usual.

A locomotive may sometimes have a fifth letter in its name which generally denotes a technical variant or subclass or subtype. This fifth letter indicates some smaller variation in the basic model or series, perhaps different motors, or a different manufacturer. With the new scheme for classifying diesel locomotives (as mentioned above) the fifth item is a letter that further refines the horsepower indication in 100 hp increments: 'A' for 100 hp, 'B' for 200 hp, 'C' for 300 hp, etc. So in this scheme, a WDM-3A refers to a 3100 hp loco, while a WDM-3D would be a 3400 hp loco and WDM-3F would be 3600 hp loco.

Note: This classification system does not apply to steam locomotives in India as they have become non-functional now. They retained their original class names such as M class or WP class.

Diesel Locomotives are now fitted with Auxiliary Power Units which saves nearly 88% of Fuel during the idle time when train is not running.[27]

The number of goods wagons was 205,596 on 31 March 1951 and reached the maximum number 405,183 on 31 March 1980 after which it started declining and was 239,321 on 31 March 2012. The number is far less than the requirement and the Indian Railways keeps losing freight traffic to road. Indian Railways carried 93 million tonnes of goods in 1950–51 and it increased to 1010 million tonnes in 2012–13.[28]

However, its share in goods traffic is much lower than road traffic. In 1951, its share was 65% and the share of road was 35%. Now the shares have been reversed and the share of railways has declined to 30% and the share of road has increased to 70%.

Electric Multiple Unit (EMU) coaches are used for suburban traffic in large cities – mainly Mumbai, Chennai, Delhi, Kolkata, Pune, Hyderabad and Bangalore. These coaches numbered 7,793 on 31 March 2012. They have second class and first class seating accommodation.

Indian Railways earns about 70% of its revenues from freight traffic (₹686.2 billion from freight and ₹304.6 billion from passengers in 2011–12). Most of its profits come from transporting freight, and this makes up for losses on passenger traffic. It deliberately keeps its passenger fares low and cross-subsidises the loss-making passenger traffic with the profit-making freight traffic.

Since the 1990s, Indian Railways has stopped single-wagon consignments and provides only full rake freight trains

The total length of track used by Indian Railways is about 115,000 km (71,000 mi) while the total route length of the network is 65,000 km (40,000 mi).[30] About 24,891 km (15,467 mi) or 38% of the route-kilometre was electrified, as of 31 March 2014.[31]

Broad gauge is the predominant gauge used by Indian Railways. Indian broad gauge—1,676 mm (5 ft 6 in)—is the most widely used gauge in India with 105,000 km (65,000 mi) of track length (91% of entire track length of all the gauges) and 56,000 km (35,000 mi) of route-kilometre (86% of entire route-kilometre of all the gauges).

In some regions with less traffic, the metre gauge (1,000 mm (3 ft 33⁄8 in)) is common, although the Unigauge project is in progress to convert all tracks to broad gauge. The metre gauge has about 8,000 km (5,000 mi) of track length (7% of entire track length of all the gauges) and 7,000 km (4,300 mi) of route-kilometre (10% of entire route-kilometre of all the gauges).

The Narrow gauges are present on a few routes, lying in hilly terrains and in some erstwhile private railways (on cost considerations), which are usually difficult to convert to broad gauge. Narrow gauges have 2,000 route-kilometre. The Kalka-Shimla Railway, the Kangra Valley Railway and the Darjeeling Himalayan Railway are three notable hill lines that use narrow gauge, but the Nilgiri Mountain Railway is a metre gauge track.[32] These four rail lines will not be converted under the Unigauge project.

Map of Indian Railways network with population density

The share of broad gauge in the total route-kilometre has been steadily rising, increasing from 47% (25,258 route-km) in 1951 to 86% in 2012 whereas the share of metre gauge has declined from 45% (24,185 route-km) to 10% in the same period and the share of narrow gauges has decreased from 8% to 3%. About 24,891 route-km of Indian railways is electrified.

Sleepers (ties) are made up of prestressed concrete, or steel or cast iron posts, though teak sleepers are still in use on a few older lines. The prestressed concrete sleeper is in wide use today. Metal sleepers were extensively used before the advent of concrete sleepers. Indian Railways divides the country into four zones on the basis of the range of track temperature. The greatest temperature variations occur in Rajasthan.

Indian Railways has a full-fledged organisation known as Research Designs and Standards Organisation (RDSO), located at Lucknow for all research, designs and standardisation tasks.

In August 2013, Indian Railways entered into a partnership with Indian Institute of Technology (Madras) to develop technology to tap solar energy for lighting and air-conditioning in the coaches. This would significantly reduce the fossil fuel dependency for Indian Railways.[33]

Recently it developed and tested the Improved Automated Fire Alarm System in Rajdhani Express Trains. It is intended that the system be applied to AC coaches of all regular trains.[34]

These are the non-stop (except for technical halts) point to point rail services introduced for the first time in 2009. They connect the metros and major state capitals of India and are faster than Rajdhani Express. They provide first AC, two-tier AC and three-tier AC accommodation. Some of them provide Sleeper Class accommodation.

These are air-conditioned trains linking major cities to New Delhi. They have high priority and are one of the fastest trains in India, travelling at an average speed of 130 km/h (82 mph). They have only a few stops. In the Railway budget of 2014, it was proposed that the speed of Rajdhani express, and Shatabdi Expresses would be increased up to 200 km/h.

These are fully air-conditioned trains linking major cities in the country. They have high priority and are one of the fastest trains in India, travelling at about 130 km/h (82 mph). They have only a few stops.

The Shatabdi trains are air-conditioned intercity trains for travel during daytime. They have seats and executive class seats. Some of them have 3-tier AC berths. They are the fastest trains in India, travelling at about 130–160 km/h. India Railway is planning to introduce wi-fi faciltiy for New Delhi - Kalka Shatabdi Express.[39]

These trains were started along with Duronto Express trains to provide air conditioned travel to youth of the country. Sixty percent of the seats of these trains were reserved for passengers between 18 – 45 years of age. These trains did not enjoy much success. Today these trains only operate on the Delhi - Howrah and Delhi - Mumbai routes.

These are slow trains that stop at most or every station along the route and are the cheapest trains. The trains generally have unreserved seating accommodation but some night trains have sleeper and 3-tier AC compartments. These also travel about 40-80 kmph

Indian Railways has several classes of travel with or without airconditioning. A train may have just one or many classes of travel. Slow passenger trains have only unreserved seating class whereas Rajdhani, Duronto, Shatabdi, garib rath and yuva trains have only airconditioned classes. The fares for all classes are different with unreserved seating class being the cheapest. The fare of Rajdhani, Duronto and Shatabdi trains includes food served in the train but the fare for other trains does not include food that has to be bought separately. In long-distance trains a pantry car is usually included and food is served at the berth or seat itself. Luxury trains such as Palace on Wheels have separate dining cars but these trains cost as much as or more than a five-star hotel room.

A standard passenger rake generally has four unreserved (also called "general") compartments, two at the front and two at the end, of which one may be exclusively for ladies. The exact number of other coaches varies according to the demand and the route. A luggage compartment can also exist at the front or the back. In some mail trains a separate mail coach is attached. Lavatories are communal and feature both the Indian style as well as the Western style.

The following table lists the classes in operation. A train may not have all these classes.

First class AC: This is the most expensive class, where the fares are almost at par with air fare. There are eight cabins (including two coupes) in the full AC First Class coach and three cabins (including one coupe) in the half AC First Class coach. The coach has an attendant to help the passengers. Bedding is included with the fare in IR. This air conditioned coach is present only on popular routes and can carry 18 passengers (full coach) or 10 passengers (half coach). The sleeper berths are extremely wide and spacious. The coaches are carpeted, have sleeping accommodation and have privacy features like personal coupes. This class is available on broad gauge and metre gauge trains.

2A

AC-Two tier: These air-conditioned coaches have sleeping berths across eight bays. Berths are usually arranged in two tiers in bays of six, four across the width of the coach and two berths longways on the other side of the corridor, with curtains along the gangway or corridor. Bedding is included with the fare. A broad gauge coach can carry 48 passengers (full coach) or 20 passengers (half coach). This class is available on broad gauge and metre gauge trains.

FC

First class: Same as 1AC but without air conditioning. No bedding is available in this class. The berths are wide and spacious. There is a coach attendant to help the passengers. This class has been phased out on most of the trains and is rare to find. However narrow gauge trains to hill stations have this class.

3A

AC three tier: Air conditioned coaches with 64 sleeping berths. Berths are usually arranged as in 2AC but with three tiers across the width and two longways as before giving eight bays of eight. They are slightly less well-appointed, usually no reading lights or curtained off gangways. Bedding is included with fare. It carries 64 passengers in broad gauge. This class is available only on broad gauge.

3E

AC three tier (Economy): Air conditioned coaches with sleeping berths, present in Garib Rath Trains. Berths are usually arranged as in 3AC but with three tiers across the width and three longways. They are slightly less well-appointed, usually no reading lights or curtained off gangways. Bedding is not included with fare.

CC

AC chair car: An air-conditioned seater coach with a total of five seats in a row used for day travel between cities.

EC

Executive class chair car: An air-conditioned coach with large spacious seats and legroom. It has a total of four seats in a row used for day travel between cities. This class of travel is only available on Shatabdi Express trains.

SL

Sleeper class: The sleeper class is the most common coach on IR, and usually ten or more coaches could be attached. These are regular sleeping coaches with three berths vertically stacked. In broad gauge, it carries 72 passengers per coach.

2S

Seater class: same as AC Chair car, but with bench style seats and without the air-conditioning. These may be reserved in advance or may be unreserved.

UR

Unreserved: The cheapest accommodation. The seats are usually made up of pressed wood in older coaches but cushioned seats are found in new coaches. These coaches are usually over-crowded and a seat is not guaranteed. Tickets are issued in advance for a minimum journey of more than 24 hours. Tickets issued are valid on any train on the same route if boarded within 24 hours of buying the ticket.

Seen here is the Mumbai Rajdhani Express. Rajdhanis are long-distance high-speed and high-priority trains connecting major state capitals with New Delhi

Maharaja Express a luxury train operated by IRCTC runs on five circuits[47] covering more than 12 destinations across North-West and Central India, mainly centered around Rajasthan between the months of October to April.

Samjhauta Express is a train that runs between India and Pakistan. However, hostilities between the two nations in 2001 saw the line being closed. It was reopened when the hostilities subsided in 2004. Another train connecting Khokhrapar (Pakistan) and Munabao (India) is the Thar Express that restarted operations on 18 February 2006; it was earlier closed down after the 1965 Indo-Pak war.

Lifeline Express is a special train popularly known as the "Hospital-on-Wheels" which provides healthcare to the rural areas. This train has a carriage that serves as an operating room, a second one which serves as a storeroom and an additional two that serve as a patient ward. The train travels around the country, staying at a location for about two months before moving elsewhere.

Fairy Queen is the oldest operating locomotive in the world today, though it is operated only for specials between Delhi and Alwar. John Bull, a locomotive older than Fairy Queen, operated in 1981 commemorating its 150th anniversary. Gorakhpur railway station also has the distinction of being the world's longest railway platform at 4,483 ft (1,366 m). The Ghum station along the Darjeeling Toy Train route is the second highest railway station in the world to be reached by a steam locomotive.[52] The Mumbai–Pune Deccan Queen has the oldest running dining car in IR.

Vivek Express, between Dibrugarh and Kanyakumari, has the longest run in terms of distance and time on Indian Railways network. It covers 4,286 km (2,663 mi) in about 82 hours and 30 minutes.

Bhopal Shatabdi Express is the fastest train in India today having a maximum speed of 160 km/h (99 mph) on the Faridabad–Agra section. The fastest speed attained by any train is 184 km/h (114 mph) in 2000 during test runs.

Double-decker AC trains have been introduced in India. The first double decker train was Pune-Mumbai Sinhagad express plying between Pune and Mumbai[53] while the first double-decker AC train in the Indian Railways was introduced in November 2010, running between the Dhanbad and Howrah stations having 10 coaches and 2 power cars.[54] On 16 April 2013, Indian Railways celebrated its 160 years of nationwide connectivity with a transportation of 23 million passengers in a day.[55]

Indian Railways is cash strapped and reported a loss of ₹30,000 crores (₹300bn) in the passenger segment for the year ending March 2014. Operating ratio, a key metric used by Indian railways to gauge financial health, is 91.8% in the year 2014-15. Railways carry a social obligation of over ₹20,000 crores (₹200bn $3.5bn). The loss per passenger-km increased to 23 paise by the end of March 2014. Indian Railways is left with a surplus cash of just ₹690 crores (₹6.9bn $115mn) by the end of March 2014.[56]

It is estimated that over ₹ 5 lakh crores (₹5 trillion) (about $85 bn at 2014 exchange rates) is required to complete the ongoing projects alone. The railway is consistently losing market share to other modes of transport both in freight and passengers.[57]

New railway line projects are often announced during the Railway Budget annually without securing additional funding for them. In the last 10 years,[when?] 99 New Line projects worth ₹ 60,000 crore (₹600bn) were sanctioned out of which only one project is complete till date, and there are four projects that are as old as 30 years, but are still not complete for one reason or another.[13]

Sanjay Dina Patil a member of the Lok Sabha in 2014 said that additional tracks, height of platforms are still a problem and rise in tickets, goods, monthly passes has created an alarming situation where the common man is troubled.[58]