Proceeding through counsel, Roy Vanderhoff, a former inmate at the Avoyelles Correctional Center (ACC), filed a 42 U.S.C. § 1983 complaint against Randy Prentice, the medical director of the ACC, and Dr. Pacheco, a medical doctor at the ACC, alleging deliberate indifference to a serious medical condition.1 The district *862court dismissed the complaint for failure to state a claim under Fed.R.Civ.P. 12(b)(6). Vanderhoff timely appealed.
This court reviews a district court’s dismissal for failure to state a claim pursuant to Rule 12(b)(6) de novo. Abraham v. Singh, 480 F.3d 351, 354 (5th Cir.2007). The plaintiffs allegations are accepted as true and the dismissal will be upheld “only if it appears that no relief could be granted under any set of facts that could be proven consistent with the allegations.” Id.
To prove an Eighth Amendment claim, a plaintiff must set forth facts showing deliberate indifference to a serious medical need. See Lawson v. Dallas County, 286 F.3d 257, 262 (5th Cir.2002). Deliberate indifference requires actual knowledge and conscious disregard of the risk of harm to the plaintiff. Id. It cannot be inferred from a prison official’s mere failure to act reasonably. Id. at 262-63. In Lawson, id. at 263, a finding of deliberate indifference was made where the defendants had “actual knowledge” that a paraplegic inmate had decubitus ulcers yet failed to follow the instructions of hospital doctors regarding treatment of the condition.
Vanderhoff alleged that Pacheco was made aware of his back condition when he inquired about a scheduled appointment with the orthopedic specialist. Vanderhoff also alleged that Pacheco told him that surgery “costs too much.” “Under certain circumstances, allegations of deliberate indifference may be shown when prison officials deny an inmate recommended treatment by medical professionals.” Payne v. Lynaugh, 843 F.2d 177, 178 (5th Cir.1988). It is not yet apparent beyond doubt that Vanderhoff could prove no set of facts consistent with his complaint that would allow him relief. Accordingly, the judgment is VACATED and the case is REMANDED to the district court for further proceedings.