Mainspring is the third novel from writer Jay Lake. It is a clockpunk science fiction/fantasy novel, of the subgenre steampunk. This novel is followed by the 2008 sequel Escapement and the 2010 sequel Pinion.