In order to enhance the pertinence of agriculture building design, the experiment and numerical simulation on cold-formed thin-walled steel members with “л” section under axial compressive force were conducted to investigate the effects of residual stress on bearing capacity of them. For the members, there are inevitably initial defects, such as initial bending, initial eccentricity and residual stress due to the manufacturing error. In the numerical simulation, initial bending and initial eccentricity of the members were considered. The results show that the residual stress affects instability forms of the members. And as the member slenderness ratio increases from 69 to 200, the bearing capacity of member with residual stress decreases from 12.8% to 84.9% of that without residual stress.