Variety reports that Foxx has been handed the title role of Django after it was originally offered to Men In Black star Will Smith.
It's claimed Tarantino spoke to actors Idris Elba, Terrence Howard and Chris Tucker before he decided to give the role to Foxx.
Foxx will play the role of Django, a freed slave who teams up with a German bounty hunter in a bid to take on a plantation owner to find his long-lost love Broomhilda.
Kerry Washington starred with Foxx in Ray and she has also been talking with Tarantino about playing the role of Broomhilda.