Larry Krogmeier appeals from the district court’s 2 judgment affirming the denial of his application for disability insurance benefits pursuant to Title II of the Social Security Act, 42 U.S.C. § 401, et seq.. We affirm.
*1022 I.
Krogmeier was born on March 22, 1944. His past relevant work is as a gas fitter and meter reader. He quit working on July 11, 1989, because of back pain and depression. He filed an application for benefits on October 15, 1996, but in order to receive benefits he must show that he was disabled on or before December 31, 1994, his date last insured.
The Social Security Administration denied Krogmeier’s application initially and on reconsideration. He then requested and received a hearing before an administrative law judge (ALJ). The ALJ evaluated Krogmeier’s claim according to the five-step sequential analysis prescribed by the social security regulations.
See
20 C.F.R. §§ 404.1520(a)-(f);
see also Bowen v. Yuckert,
Krogmeier petitioned the Appeals Council for review. The Appeals Council denied review on September 6, 2000, thus making the ALJ’s order the final decision of the Commissioner. Krogmeier then sought review in the district court, which affirmed the Commissioner’s decision. Krogmeier now appeals, arguing that the ALJ’s decision is not supported by medical evidence and that the ALJ improperly evaluated Krogmeier’s credibility. Krog-meier argues in the alternative that if we do not reverse and order an award of benefits, we should remand for consideration of new evidence.
II.
Our role on review is to determine whether the Commissioner’s findings are supported by substantial evidence in the record as a whole.
See Prosch v. Apfel,
Krogmeier does not disagree with the ALJ’s determination that his back pain does not prevent him from doing light work. Instead, he argues that his depres *1023 sion alone caused him to be disabled prior to Ms date last insured.
Krogmeier first argues that the ALJ’s decision was contrary to the medical evidence. He contends that the ALJ erred in rejecting the opinion of his treating psychiatrist, Dr. Vernon Varner, expressed in a letter dated March 10, 1997, in which Dr. Varner stated that Krogmeier had been disabled since at least 1991. He also contends that, even if the ALJ was correct to reject this opimon, there is no contrary medical evidence to support the ALJ’s opinion that Krogmeier could have worked prior to December 31,1994.
“A treating physician’s opinion should not ordinarily be disregarded and is entitled to substantial weight.”
Singh v. Apfel,
The ALJ reviewed Dr. Varner’s July 1985 through 1996 treatment notes.' During the course of treatment, Dr. Varner noted regularly that Krogmeier’s depression was controlled, saying things such as he was “1000% better,” “back to his old self,” and “well-maintained.” Dr. Varner noted in July 1994 that Krogmeier required a low stress environment, but it was not until the 1997 letter that he stated that “any stress” would have triggered a relapse into further depression. Accordingly, the ALJ concluded that the opinion set forth in Dr. Varner’s 1997 letter was inconsistent with his contemporaneous treatment notes, which indicated that Krogmeier’s depression was controlled with medication and that he could handle low stress environments. We find that there is substantial evidence in the record to support the ALJ’s decision not to give Dr. Varner’s 1997 opimon controlling weight because of its apparent inconsistency with his contemporaneous .treatment notes.
Krogmeier maintains, however, that, even after rejecting Dr. Varner’s 1997 opinion, the ALJ was required to base his conclusion on some medical evidence in the record. The ALJ bears the primary responsibility for determimng a claimant’s residual functional capacity based on all relevant evidence, but residual functional capacity remains a medical question.
Hutsell v. Massanari,
Krogmeier contends that, as in
Hutsell"
and
Lauer,
the ALJ relied on no medical evidence in determining that he was not disabled by his depression prior to December 31, 1994. In
Hutsell,
we concluded that the medical evidence “uni
*1024
formly indicates that the stress of any sustained work is more than Hutsell can handle.”
Hutsell,
Second, Krogmeier argues that the ALJ improperly determined that his subjective complaints were credible only to the extent confirmed by the objective medical evidence. The ALJ found that the medical evidence revealed that, prior to his date last insured, Krogmeier’s depression was well-controlled by medication. An ALJ may undertake a credibility analysis when the medical evidence regarding a claimant’s disability is inconsistent.
Polaski v. Heckler,
Finally, Krogmeier contends that, if we do not award him benefits, we should remand for consideration of Dr. Varner’s 1991 to 1994 notes, which were not included in the record before the ALJ. Sentence six of 42 U.S.C. § 405(g) authorizes us to remand a case to the Commis
*1025
sioner where “new and material evidence is adduced that was for good cause not presented during the administrative proceedings.”
Buckner v. Apfel,
The judgment is affirmed.
Notes
. The Honorable Charles R. Wolle, United States District Judge for the Southern District of Iowa.
