Åstorp grew in importance when the railway from Helsingborg to Hässleholm-Stockholm was completed in 1875. In 1886 a railway to Malmö was completed, and in 1888 Åstorp became a main junction when the Malmö-Gothenburg line was completed. These lines are still in use, although passenger traffic Malmö-Gothenburg is re-routed via Helsingborg-Ängelholm. The Ängelholm-Åstorp-Teckomatorp line is a main route for cargo trains to Malmö. Åstorp is connected to Helsingborg via two routes, one entering Helsingborg from the north and one from the south via Ramlösa.