The Obama administration cleared the way for the first exports of unrefined American oil in nearly four decades, allowing energy companies to start chipping away at the longtime ban on selling U.S. oil abroad.

In separate rulings that haven't been announced, the Commerce Department gave Pioneer Natural Resources Co. and Enterprise Products Partners LP permission to ship a type of ultralight oil known as condensate to foreign buyers....