Former Yankees slugger Edwin Encarnacion is in agreement with the White Sox on a one-year, $12 million contract, The Post’s Joel Sherman reported Wednesday.

The news comes just two days following the funeral of Encarnacion’s father.

Encarnacion hit 13 home runs in 44 games with the Yankees after arriving from Seattle in a trade last season, and finished with 34 total, marking the eighth straight season he has hit at least 30 home runs.

But after a pair of significant injuries and an ineffective postseason, the Yankees declined their $20 million option and bought the soon-to-be 37-year-old out for $5 million.

Encarnacion’s new deal also includes a club option for 2021 at $12 million, and comes on the heels of Chicago signing 2015 Cy Young Award winner Dallas Keuchel (three years, $55 million) in what has been a busy offseason for the White Sox.