A Hobart high school teacher has admitted stringing wire across a popular mountain bike track near Cascade Brewery.

Stephen John De Lai, 48, of South Hobart has pleaded guilty to creating a common nuisance last October.

The Supreme Court heard the high school teacher was fed up with mountain bike riders who were riding too fast on tracks near the brewery where he often walked his dog.

After drinking three beers he fixed a piece of wire between a tree and telegraph pole one metre off the ground and blocked the track with a log of wood.

De Lai reported his actions to police after being confronted by riders who saw him setting the trap.

His lawyer told the court De Lai was not intending to hurt anyone and only meant to slow the riders down.