In this paper, we introduce and analyze a weak Galerkin finite element method for numerically solving the coupling of fluid flow with porous media flow. Flows are governed by the Stokes equations in primal velocity–pressure formulation and Darcy equation in the second order primary formulation, respectively, and the corresponding transmission conditions are given by mass conservation, balance of normal forces, and the Beavers–Joseph–Saffman law. By using the weak Galerkin approach, we consider the two-dimensional problem with the usual polynomials of degree k ≥ 1 for the velocity and hydraulic head, while polynomials of degree k − 1 for the pressure, the velocity and hydraulic head is enhanced by polynomials of degree k − 1 on the edge of a finite element partition. This new method has a lot of attractive computational features: more general finite element partitions of arbitrary polygons with certain shape regularity, fewer degrees of freedom and parameter free. Stability and error estimates of optimal order are obtained. Moreover, numerical experiences are presented to illustrate the good performance, confirm the optimal order of convergence and verify the efficiency of the proposed weak Galerkin method in this paper. We also deal with finite element partitions consisting of general meshes, such as triangular mesh, quadrilateral mesh, hexagonal-dominant mesh and Voronoi mesh for the numerical weak Galerkin approximation.