Where do I find Oil?

Oil can be found under the surface, in caverns of Desert planets.

References:

  1. The wiki: http://starbound.gamepedia.com/Oil
  2. This picture:
    The dark water is oil.

The dark water seen in this picture is not water found in the underground tar biome (stable builds). They inflict a debuff when walked into and can be mined with a liquid-upgraded Matter Manipulator.