Mästerby is a populated area, a socken or administrative parish (not to be confused with ecclesiastical parish), on the Swedish island of Gotland. It comprises the same area as the administrative Mästerby District, established on 1 January 2016.
When King Valdemar IV of Denmark and his troops invaded Gotland in 1361, they met the first line of resistance at the Battle of Mästerby.
[en]