National Route 840 (N840) is a major secondary route that forms part of the Philippine highway network. It serves a diversion road for both Cebu North Road and Natalio Bacalso Avenue/Cebu South Road (both N8), from Liloan to Talisay.
N840 begins in a Y-junction with Cebu North Road (N8) as ConsolacionâÂÂTayudâÂÂRoad in Liloan. It traverses Consolacion, which shares a barangay with the former in this road called Tayud. The road meets its end in Cansaga Bay Bridge.
This separate portion that carries N840 is called the Cansaga Bay Bridge, connecting Mandaue and Consolacion.
N840 starts as Mayor Demetrio M. Cortes Avenue right after passing the Cansaga Bay Bridge. It intersects with United Nations Avenue (N841). The short segment ends in an intersection with A.C. Cortes Avenue (N82)
After its intersection with A.C. Cortes Avenue (N82), N840 continues as Ouano Avenue. After passing the Ouano Bridge, the road takes a sharp turn. It traverses through the southern part of Mandaue, including the North Reclamation Area, being beside major buildings such as Bai Hotel Cebu and Cebu International Convention Center.
N840 continues as Second Avenue right after leaving Mandaue and Ouano Avenue starting from the eponymous bridge. After the route reaches the MacArthurâÂÂPadilla Bridge, the Second Avenue section ends.
N840's continuation, the Sergio Osmeña Avenue, continues after the MacArthurâÂÂPadilla Bridge and Second Avenue. It continues as a straight six-land divided road until it ends in a junction with Legazpi Highway.
The four inner lanes from Sergio Osmeña Avenue continue in a tunnel and become the Cebu South Coastal Road. Once it exits the tunnel, it is carried by the Viaduct Bridge. Before the bridge ends, the CebuâÂÂCordova Link Expressway forms. Around this point, the kilometer count reverses due to it being south of the kilometer zero, making it parallel with Natalio Bacalso Avenue. After exiting the bridge, Route 840 enters and serves the general area of the South Road Properties, with it being adjacent to significant business centers including the SM Seaside City. The road enters Talisay where after a sharp turn, N840 ends in the Natalio Bacalso Avenue junction.
In December 16, 2008, the Cebu South Coastal Road was declared and converted into a national road. In December 22, 2023, the segment of the route called Plaridel Street was renamed to Mayor Demetrio M. Cortes Avenue.