Computational fluid dynamics (CFD) has been used to study the seabed boundary layer flow around monopile and gravity-based offshore wind turbine foundations. The gravity-based foundation has a hexagonal bottom slab (bottom part). The objective of the present study is to investigate the formation of horseshoe vortex and flow structures around two different bottom-fixed offshore wind turbine foundations in order to provide an assessment of potential scour for engineering design. Three-dimensional CFD simulations have been performed using Spalart-Allmaras Delayed Detached Eddy Simulation (SADDES) at a Reynolds number 4×106 based on the free stream velocity and the diameter of the monopile foundation, D. A seabed boundary layer flow with a boundary layer thickness D is assumed for all the simulations. Vortical structures, time-averaged results of velocity distributions and bed shear stresses are computed. The numerical results are discussed by studying the difference in flows around the monopile and the gravity-based foundations. A distinct horseshoe vortex is found in front of the monopile foundation. Two small horseshoe vortices are found in front of the hexagonal gravity-based foundation, i.e. one is on the top of the bottom slab and one is near the seabed in front of the bottom slab. The horseshoe vortex size for the hexagonal gravity-based foundation is found to be smaller than that for the monopile foundation. The effects of different foundation geometries on destroying the formation of horseshoe vortices (which is the main cause of scour problems) are discussed.