This is an appeal from the district court’s judgment that upheld the decision of the Secretary of Health and Human Services (Secretary) to deny Desrosiers Social Security disability insurance benefits. On appeal, Desrosiers contends that (1) the Secretary’s finding that he can perform the full range of light work is erroneous because that finding is not supported by substantial evidence, and (2) the Secretary’s use of the Medical-Vocational Guidelines to find that Desrosiers is not disabled is incorrect because he has pain and postural limitations not covered by the Guidelines.
We reverse and remand for further proceedings. We do so on the basis that the Secretary’s finding is not supported by substantial evidence. The basis of our holding that the Secretary’s finding was not supported by substantial evidence necessitates a remand for further proceedings. Because of the remand we shall address the second of Desrosiers’ contentions.
I.
FACTS AND PROCEEDINGS BELOW
Desrosiers, a fifty-three-year-old former steel worker, complains of back problems that limit his ability to engage in most sustained physical activities without experiencing increasing and ultimately severe pain. Desrosiers’ back problems began in the mid-1970’s, when he felt occasional sharp deep pains while working. In 1980, he suffered more severe and persistent back pain. His condition worsened again in 1982-1983.
In early 1984, Dr. Woodard, a workers’ compensation doctor, evaluated Desrosiers for purposes of preparing a California state workers’ compensation report. The doctor noted that Desrosiers’ back pain was “constant every day” unless he took pain medication and that Desrosiers generally took medication every morning. Dr. Woodard’s objective medical findings included “palpable spasms, decreased grip strength in the left arm, x-ray findings of chronic tendonitis as well as spasm and disc space narrowing.” Dr. Woodard predicted that “[Desro-siers’] subjective complaints of pain will be constant and slight, increasing to constant and moderate and occasionally severe with any physical activity.” (Emphasis added).
Another workers’ compensation physician, Dr. Gaskell, evaluated Desrosiers in connection with his California workers’ compensation claim during the same period. He documented Desrosiers’ complaints of “[d]aily moderate to severe pain in upper back aggravated with lifting, excessive turning of head or use of arms, sitting for prolonged time in certain positions, sleeping on stomach.” Dr. Gaskell described Desrosiers as having degenerated discs with associated arthrosis, neuroradiculitis, and osteoarthritic changes, dorsal spine, and stated that this condition precluded “elevation of the left upper extremity above 90 degrees” and “repeated bending and stooping.” Dr. Gaskell described Des-rosiers’ pain residuals as “[constantly slight/intermittently slight to moderate, becoming constantly moderate with lifting, bending, stooping, pulling, pushing, climbing, becoming greater than moderate and rising to severe with prolongation of such activities.” (Emphasis added).
Desrosiers first applied for social security disability insurance benefits in early 1985. The Social Security Administration denied both his initial application and his request for rehearing. Desrosiers then asked for a hearing before an Administrative Law Judge (AU).
Desrosiers’ testimony before the AU was consistent with Dr. Woodard’s and Dr. Gaskell’s earlier predictions of increasing and ultimately severe pain with prolonged activity of any kind. He also revealed that his experience with medication has been *575largely unsuccessful: he has had to change medicines several times, and he now tries to take pain pills only when he “can’t stand it.” Desrosiers further testified that spends his time resting and engaging in limited housework. At this level of activity, his pain rises to an unbearable level approximately once per week.
The AU noted for the record that Desro-siers was fifty-one years old at the time of the hearing, that he had a GED high-school equivalency certificate, and that he had worked at unskilled positions in the steel industry for thirteen years. In addition to noting Desrosiers’ pain limitations, the AU summarized the medical conclusions as follows:
Pertinent substantial medical evidence of record shows the claimant has radiculo-pathy from the C7 nerve root on the left and myelogram and electromyogram showed definite nerve root impingement at C8. Claimant also has cervical spon-dylosis at C7 and C8 nerve roots and his diagnosis remains degenerative disc as C4-5 and C5-6 with associated arthrosis, herniated disc syndrome at C7 and chronic tendinitis of the cervical spine.
The AU decided that Desrosiers could not perform his past work, but that he retained the residual functional capacity to perform the full range of light work. “Light work” involves:
lifting no more than 20 pounds at a time with frequent lifting or carrying of objects weighing up to 10 pounds. Even though the weight lifted may be very little, a job is in this category when it requires a good deal of walking or standing, or when it involves sitting most of the time with some pushing and pulling of arm or leg controls. To be considered capable of performing a full or wide range of light work, [a claimant] must have the ability to do substantially all of these activities.
20 C.F.R. § 404.1567 (1987).
According to the Medical-Vocational Guidelines, a fifty-one year old male with a high school equivalency certificate who has performed largely unskilled work is not disabled as long as he is limited to light work only. 20 C.F.R. pt. 404, subpt. P, app. 2, rule 202.13 (1987). The same male would be disabled were he limited to sedentary work. Id. rule 201.12. The AU applied the Guidelines for light work and observed that they directed a conclusion of “not disabled.”
Desrosiers petitioned the Appeals Council for review of the AU’s decision. To support his request for review, Desrosiers submitted an additional report by his treating physician, Dr. Sirichai. Dr. Sirichai had been presented with the technical definitions of “sedentary work,” “light work,” “medium work,” and “heavy work,” as those terms are used for Social Security disability evaluations. He was then asked to “review the definitions of work used by Social Security ... and check the degree of disability, if any [suffered by the claimant].” Dr. Sirichai indicated that Desrosi-ers could “perform sedentary work, but not light work.”
The Appeals Council denied Desrosiers’ request for review, and stated that it had “carefully considered,” but nonetheless rejected, Dr. Sirichai’s conclusion that Desro-siers was limited to sedentary work. In rejecting the treating physician’s conclusion, the Council merely noted that “Dr. Sirichai has offered no new clinical findings to support his opinion and the objective findings already of record do not support his opinion.”
Desrosiers sought review of the Secretary’s determination in district court. The court referred the case to a United States Magistrate, who heard cross-motions for summary judgment. The Magistrate issued proposed findings and recommendations upholding the Secretary’s denial of benefits. The district court adopted the Magistrate’s findings and recommendations, and entered a judgment for the Secretary on February 19, 1987.
II.
STANDARD OF REVIEW
This court may set aside a denial of Social Security disability insurance benefits when the Secretary’s findings are based on legal error or are not supported by sub*576stantial evidence in the record as a whole. Martinez v. Heckler, 807 F.2d 771, 772 (9th Cir.1986); Taylor v. Heckler, 765 F.2d 872, 875 (9th Cir.1985). “Substantial evidence” means “more than a mere scintilla,” Richardson v. Perales, 402 U.S. 389, 402, 91 S.Ct. 1420, 1428, 28 L.Ed.2d 842 (1971) (quoting Consolidated Edison Co. v. NLRB, 305 U.S. 197, 229, 59 S.Ct. 206, 216, 83 L.Ed. 126 (1938)), but “less than a preponderance.” Sorenson v. Weinberger, 514 F.2d 1112, 1119 n. 10 (9th Cir.1975). It means “such relevant evidence as a reasonable mind might accept as adequate to support a conclusion.” Richardson, 402 U.S. at 402, 91 S.Ct. at 1427 (quoting Consolidated Edison Co. v. NLRB, 305 U.S. 197, 229, 59 S.Ct. 206, 217, 83 L.Ed. 126 (1938)); Taylor, 765 F.2d at 875. We consider the record as a whole, weighing both the evidence that supports and the evidence that detracts from the Secretary’s conclusion. Jones v. Heckler, 760 F.2d 993, 995 (9th Cir.1985).
III.
SUBSTANTIAL EVIDENCE
The finding of the Administrative Law Judge (AU) that Desrosiers’ allegations of “inability to perform substantial gainful activity” were “contradicted by the reports of all examining physicians” was incorrect. Administrative Record (A.R.) at 14. The only physician who made a medical conclusion premised on the Social Security guidelines was Doctor Sirichai, the treating physician, who found Desrosiers limited to sedentary work, a condition that would entitle him to disability status. Doctors Woodard and Gaskell made no such examination.
Doctors Woodard and Gaskell evaluated Desrosiers for his California workers’ compensation claim. In that context they found Desrosiers incapable of “heavy” work. That was as far as they had to go. It was not necessary to determine what level of work Desrosiers was capable of performing. Under the California workers’ compensation system, a claimant incapable of performing “heavy” work may be capable of performing “light,” semi-sedentary,” or “sedentary” work. None of these three categories, however, is based on strength. Rather, they turn on whether a claimant sits, stands, or walks for most of the day. Each entails a “minimum of demands for physical effort.” Schedule for Rating Permanent Disabilities, Guidelines for Work Capacity, 1-A (Labor Code of the State of California).
The categories of work under the Social Security disability scheme are measured quite differently. They are differentiated primarily by step increases in lifting capacities. It is clear from the record that the AU did not adequately consider this distinction. See, e.g., A.R. at 44 (statement by the AU to Desrosiers: “[Dr. Gaskell] says you can’t do any heavy lifting. Heavy lifting is considered to be above fifty pounds.”)
Thus, contrary to the AU’s findings, the reports of Doctors Woodard and Gaskell did not contradict Desrosiers’ claim of disability. Doctor Sirichai’s report, of course, supported Desrosiers’ claim. We have said on several occasions that the recommendations of treating physicians carry special weight. See, e.g., Summers v. Bowen, 813 F.2d 241, 242-43 (9th Cir.1987); Cotton v. Bowen, 799 F.2d 1403, 1408 (9th Cir.1986); Jones v. Heckler, 760 F.2d 993, 997 (9th Cir.1985); Murray v. Heckler, 722 F.2d 499, 501-02 (9th Cir.1983).
IV.
PAIN AND THE GUIDELINES
In 1978, the Secretary of Health and Human Resources promulgated the medical-vocational guidelines in order to improve the efficiency and uniformity of Social Security disability benefits determinations. The validity of the regulations was upheld in Heckler v. Campbell, 461 U.S. 458, 103 S.Ct. 1952, 76 L.Ed.2d 66 (1983). The Court observed that in an agency described as “the largest adjudicative agency in the western world,” the need for efficiency “is self-evident.” Id. 461 U.S. at 461 n. 2, 103 S.Ct. at 1954 n. 2 (citation omitted). The Court also noted that the regulations make allowances for claimants whose *577limitations are not factored into the guidelines, by requiring that those individuals’ particular limitations be considered. Id. at 462 n. 5, 103 S.Ct. at 1955 n. 5; 200 C.F.R. pt. 404, subpt. P, app. 2, §§ 200.00(a), (d) (1982).
This court has recognized that significant non-exertional impairments, such as poor vision or inability to tolerate dust or gases, may make reliance on the grids inappropriate. Jones v. Heckler, 760 F.2d 993, 998 (9th Cir.1985); Kail v. Heckler, 722 F.2d 1496, 1498 (9th Cir.1984). We have also held that pain can be a non-exertional limitation. See, e.g., Perminter v. Heckler, 765 F.2d 870, 872 (9th Cir.1985).
However, the fact that a non-exer-tional limitation is alleged does not automatically preclude application of the grids. The AU should first determine if a claimant’s non-exertional limitations significantly limit the range of work permitted by his exertional limitations. Razey v. Heckler, 785 F.2d 1426, 1430 (9th Cir.1986); Blacknail v. Heckler, 721 F.2d 1179, 1181 (9th Cir.1983); Odle v. Heckler, 707 F.2d 439, 440 (9th Cir.1983).
The ALJ must weigh conflicting evidence concerning the claimant’s past work experience, education, and present psychological and physical impairments. The AU then applies the grids to these factors, ensuring that the final determination will be both consistent with other similar cases and expeditious. The claimant may challenge the sufficiency of the evidence supporting the AU‘s assessment. A non-exer-tional impairment, if sufficiently severe, may limit the claimant’s functional capacity in ways not contemplated by the guidelines. In such a case, the guidelines would be inapplicable.
All this can be accommodated to a system of fair and expeditious disposition of claims by those asserting pain or other non-exertional limitations. It is not necessary to permit a claimant to circumvent the guidelines simply by alleging the existence of a non-exertional impairment, such as pain, validated by a doctor’s opinion that such impairment exists. To do so frustrates the purpose of the guidelines. The decisions of other circuitsthat have con- sidered the issue support this interpreta- tion. See, e.g., Fraga v. Bowen, 810 F.2d 1296, 1304 (5th Cir.1987) (ALJ may rely exclusively on the Guidelines if the non-ex- ertional impairments do not significantly affect claimant’s residual functional capaci- ty); Bapp v. Bowen, 802 F.2d 601, 605-06 (2d Cir.1986) (AU must consider whether the range of work claimant could perform was so significantly diminished as to re- quire the testimony of a vocational expert); Tucker v. Heckler, 776 F.2d 793, 795-96 (8th Cir.1985) (unnecessary to call vocation- al expert where AU thoroughly considered claimant’s non-exertional impairments and explicitly determined that they did not di- minish claimant’s exertional capacities); Smith v. Schweiker, 719 F.2d 723, 725 (4th Cir.1984) (proper inquiry is whether a given non-exertional condition affects an individu- al’s functional capacity to perform work of which he is exertionally capable); Kirk v. Secretary of Health and Human Services, 667 F.2d 524, 537 (6th Cir.1981) (grid will be applied unless alleged non-exertional limitations are severe enough to restrict a full range of gainful employment at the designated level).
Any use of the uidelines by the AU on remand should adhere to these principles.
REVERSED and REMANDED.