Yes,queen elizabeth II and margaret thatcher were close.Queen elizabeth II honored margaret thatcher the highest honor in the UK by awarding her with the prestigious Order of Merit in december 7th, 1990, few days after her resignation as prime minister.Queen elizabeth II was invited to margaret thatcher's 70th birthday and she accepted then attended the party.Queen Elizabeth II attended thatcher's funeral after the latter's death on April 8 in 2013 .It was the first time she attended a former prime minister's funeral since Winston Churchill's in 1965.