A starting gate, also called a starting barrier or starting stalls, is a machine used to ensure a fair start to in horse racing and dog racing.