Mirallas will complete the move in the next 24 hours, per Sky Sports.
The 30-year-old is no longer in Everton's first team plans.
He spent the second half of last season on loan at Olympiacos.
In total, he made 151 appearances for Everton, netting 29 goals. Now the Belgian will be hoping he can revive his career in Italy.