The Mexican international made the difference as David Moyes got his first win as Sociedad boss.
Carlos Vela's hat trick earned David Moyes a first win in charge of Real Sociedad as his new side beat Elche 3-0 on Friday.
Moyes' reign at Anoeta began with a dour 0-0 stalemate at Deportivo La Coruna last Saturday, but Vela was on hand to inpsire the Scot's team this week.
It took just three minutes for Mexico international Vela to score the first goal of Moyes' tenure, as he met Carlos Martinez's cross from the right with a bullet header.
By no means did Sociedad have it all its own way, though, with Elche's highly rated Brazilian forward Jonathas causing all sorts of problems for Gorka Elustondo and Ion Ansotegi at center back.
But Moyes' men looked lethal on the counterattack, and Vela netted his second of the game at the end of an incisive breakaway just after the half-hour mark, finishing low after a brilliant lofted pass from captain Xabi Prieto.
And Vela again proved a thorn in the visitor's side early in the second half, the former Arsenal man completing his hat trick in the 53rd minute by poking through a defender's legs and into the bottom-left corner.
The win lifts Sociedad three points above the Liga relegation zone, while Elche remains second from bottom.