In this paper, a full analytical solution for incompressible flow inside the curved ducts with rectangular cross-section is presented for the first time. The perturbation method is applied to solve the governing equations and curvature ratio is considered as the perturbation parameter. The previous perturbation solutions are usually restricted to the flow in curved circular or annular pipes related to the overly complex form of solutions or singularity situation for flow in curved ducts with non-circular shapes of cross section. This issue specifies the importance of analytical studies in the field of Dean flow inside the non-circular ducts. In this study, the main flow velocity, stream function of lateral velocities (secondary flows), and flow resistance ratio in rectangular curved ducts are obtained analytically. The effect of duct curvature and aspect ratio on flow field is investigated as well. Moreover, it is important to mention that the current analytical solution is able to simulate the Taylor-Görtler and Dean vortices (vortices in stable and unstable situations) in curved channels.