The Stockton Diamond is a railway junction located just south of downtown Stockton, California, near the intersection of Aurora Street South and East Scotts Avenue. It is the point where the north–south running Union Pacific Fresno Subdivision line crosses the east–west BNSF Stockton Subdivision, both of which are double-track railways. Freight trains operate through the intersection 24 hours a day; Altamont Corridor Express and Amtrak California Gold Runner passenger trains also utilize the junction. Two of the four sides of the "diamond" are complete, allowing interchanges between the north-east and south-west legs.
By 2020, the junction was the most congested at-grade rail crossing in California, with the level-crossing design contributing to delays throughout the state's rail network. As part of the Valley Rail project, the San Joaquin Regional Rail Commission (SJRRC) and the California Department of Transportation (Caltrans) are undertaking a grade separation project to eliminate the at-grade crossing. The Union Pacific line will be elevated above the BNSF line via a flyover structure constructed approximately 200 feet (61 m) to the east of the existing UP Fresno Subdivision. Construction was scheduled to begin in 2023, with completion planned for May 2026. The project has received significant funding, including a $20 million BUILD grant from the U.S. Department of Transportation (2020) and $14 million in federal Congestion Mitigation and Air Quality funding.