Don Muang Police deputy superintendent for traffic Lt-Colonel Wirat Seua-seuppan said police arrested 16 males and two females along with seized 22 motorcycles near Wat Don Muang.
Wirat said local residents and motorists on Kamphaeng Phet 6 and Song Prapha roads had complained about the road racing.
Wirat said police staked out at the area and moved in to arrest about 40 youngsters but many fled.
Those arrested were bought to Don Muang Police Station, with police checking to see if any of the motorbikes were stolen. The youths were charged with causing a public disturbance.
During the arrest, sub-Lieutenant Sanya Huthem was hit in his left knee by a motorbike.