MEMORANDUM *
Plaintiff-Appellant Robert E. Tollstam appeals the district court’s grant of summary judgment to Defendant-Appellee Commissioner Michael J. Astrue, affirming Tollstam’s denial of disability benefits. We have jurisdiction under 28 U.S.C. § 1291 and we reverse.
Because the parties are familiar with the facts, we do not recite them here except as necessary to explain our decision. We set aside the administrative denial of benefits when it is not supported by substantial evidence or is based on legal error. Flaten v. Sec’y of Health & Human Servs., 44 F.3d 1453, 1457 (9th Cir. 1995). It is legal error to reject the opinion of a treating physician, when it is contradicted by the opinion of an examining physician, without giving “specific, legitimate reasons for doing so that are *281based on substantial evidence in the record.” Andrews v. Shalala, 53 F.3d 1035, 1041 (9th Cir.1995). In this case, the ALJ did not set forth specific and legitimate reasons based on substantial record evidence for rejecting Dr. Khoury’s testimony that Tollstam is only capable of functioning “3-4 hours per day.” Moreover, the ALJ did not directly identify any conflicting medical opinions as a reason for rejecting Dr. Khoury’s assessment.
Accordingly, we reverse the district court’s ruling and remand the case for further proceedings consistent with this ruling.
REVERSED and REMANDED.