The Kill Bill star has signed up for an unknown role in the Lars von Trier drama, which stars Charlotte Gainsbourg and Shia LaBeouf.
The erotic film sees self-diagnosed nymphomaniac Joe (Gainsbourg) recall sexual adventures from throughout her life.
Jamie Bell, Stellan Skarsgard, Christian Slater and Willem Dafoe will also star in the film, which is currently shooting in Cologne, Germany.
LaBeouf previously claimed that he will shoot "real" sex scenes for Nymphomaniac, apparently with "the help of body doubles and visual effects".
"There's a disclaimer at the top of the script that basically says we're doing it for real," LaBeouf said. "Everything that is illegal, we'll shoot in blurred images. Other than that, everything is happening."
Watch Willem Dafoe discuss Nymphomaniac below: