A mathematical model is developed to study the free (frictionless) steady horizontal flow which can occur in a homogeneous ocean of constant depth. The flow satisfies the dynamic constraint that the vertical component of absolute vorticity is constant along a streamline. The conclusion is reached that in an enclosed ocean a free steady circulation cannot have any slow broad eastward currents. The eastward currents must occur as narrow streams of high velocity and high relative vorticity. Intensified currents are present along the eastern and western coasts. The theory which is developed for the homogeneous ocean of constant depth can be applied to the two-layer ocean if the horizontal divergence of flow is negligible. If the horizontal divergence is not negligible, then the intensification of poleward currents is more pronounced and that of equatorward currents less pronounced as compared with the homogeneous ocean.