Stratified flow past a three-dimensional obstacle such as a sphere has been a long-lasting subject of geophysical, environmental and engineering fluid dynamics. In order to investigate the effect of the stratification on the near wake, in particular, the unsteady vortex formation behind a sphere, numerical simulations of stratified flows past a sphere are conducted. The time-dependent Navier–Stokes equations are solved using a three-dimensional finite element method and a modified explicit time integration scheme. Laminar flow regime is considered, and linear stratification of density is assumed under Boussinesq approximation. The effects of stratification is implemented by density transport without diffusion. The computed results include the characteristics of the near wake as well as the effects of stratification on the separation angle. Under increased stratification, the separation on the sphere is suppressed and the wake structure behind the sphere becomes planar, resembling that behind a vertical cylinder. With further increase in stratification, the wake becomes unsteady, and consists of planar vortex shedding similar to von Karman vortex streets.