The local Lutherans built it following a period of religious persecution, when in 1681 the Congress of Sopron permitted Lutherans, in articles 26 and 27 of an agreement, to erect two churches in each of eleven counties of the Kingdom of Hungary, nine of which are in present-day Slovakia.
[2] The only stone part of the church is its sacristy, originally built in 1593 as a pub outside the city walls.
The construction material had to be the cheapest possible (wood at that time) and a church had to be completed in 365 days.
In Kežmarok, a royal commission deliberately chose an ancient pub as a place of worship, in order to humiliate the local Protestant community.
The second wooden church, erected in the Baroque style in 1717, completely replaced the first building.