Ecclefechan is a small town in the south of Scotland in Dumfries and Galloway.

The writer Thomas Carlyle was born there on December 4, 1795.