Kojastu is a village in Vigala Parish, Rapla County in western Estonia.
Coordinates: 58°44′N 24°13′E / 58.733°N 24.217°E / 58.733; 24.217