The genesis of this line traces its origin to the Alappuzha-Kochi Coastal Development Council formed by K.L. Omanappillai in 1962, one of its main agendas was the Ernakulam-Kayamkulam coastal railway line via Alappuzha. To draw public attention to this cause, Mr. Pillai contested five Lok Sabha and Assembly elections using the "train" as his election symbol. The initial survey for the Ernakulam–Kayamkulam line via
Alappuzha was started in 1975. The initial proposed alignment of the railway line from
Ernakulam Junction to Alappuzha has been changed after protests from various quarters. This line was mentioned in 1977–78 final budget. The final alignment of the route which was approved was Ernakulam–Konthuruty–Nettor–
Kumbalam–
Aroor–
Cherthala–Alappuzha. The construction of railway line was started on 15 April 1979 and the construction has been divided into two reaches as Ernakulam–Alappuzha reach and Alappuzha–Kayamkulam reach.
Ernakulam–Alappuzha section The construction of this coastal railway line in
Ernakulam Junction–
Alappuzha railway station section was started in 1979. Construction of Alleppey-Ernakulam new B.G. Railway line has been included in the budget for 1979–80, with a proposed outlay, of Rs. 1 crore in the coming financial year 1979–80. Around 140 hectares of land was acquired for laying the railway lines. 11 new railway stations and 6 major bridges have been constructed along this route. The Aroor Bridge is the Longest Bridge in this section having length of The total cost outlay was 7 crores and the total length of the railway line is . The line was opened to railway traffic on 16 October 1989.
Alappuzha–Kayamkulam section The construction of Alappuzha–Kayamkulam section was started as part of second phase of coastal railway development and the alignment was via
Alappuzha–
Punnapra–
Ambalappuzha–
Haripad–
Kayamkulam. The total length of the railway line was and the line was opened to railway traffic on 1992. Thus, the
Ernakulam Junction–
Alappuzha coastal railway line has been connected to
Kayamkulam Junction railway station–
Kollam Junction main railway line. ==Stations==