OPINION
FISHER, Circuit Judge.Craig Francis Szemple appeals from an order of the United States District Court for the District of New Jersey dismissing his complaint before service pursuant to 28 U.S.C. §§ 1915(e)(2)(B)(ii) and 1915A(b)(l). For the reasons that follow, we will affirm.
In his complaint and amended complaint, Szemple alleged that sometime in 2003, he filed a civil action against Correctional Medical Services, Inc. and others, alleging deliberate indifference to his medical needs. On Friday, January 2, 2004, he reported to the medical clinic at the New Jersey State Prison to have a prescription renewed. When Szemple requested the prescription, defendant Dr. Paul Talbot, who Szemple alleges was aware of his 2003 lawsuit, replied, “Sue, sue, sue. You go back now, we’ll see about this.” Szemple replied, “We’ll see about this.” Later that day, prison guards came to Szemple’s cell, handcuffed him, and escorted him to solitary confinement detention where he was subjected to a strip search and placed in a cell. Szemple alleges that he was “housed there continuously without any visits, recreation or access to a telephone until a hearing was afforded.”
The next day, a prison guard provided Szemple with a copy of a Form 529 (Disciplinary Report), by which an unknown shift supervisor authorized his placement in pre-hearing detention. The form also contained Dr. Talbot’s signature, and accused Szemple of threatening him in violation of N.J.A.C. 10A:4-4.1(a).005. The form recounted Szemple’s statement, ‘We’ll see about this,” but did not include Talbot’s preceding statement. The form stated that Talbot felt threatened because of Szemple’s posturing and body language.
On Monday, January 5, 2004, Szemple had a hearing before a disciplinary hearing officer, and was exonerated. He was released from solitary confinement and returned to the general prison population.
Szemple’s complaint alleged that these actions violated his due process rights, and constituted retaliation for his 2003 lawsuit. *54As relief, Szemple sought compensatory damages, punitive damages, declaratory relief, and costs and fees. Szemple’s amended complaint added further counts alleging that defendants violated his due process rights pursuant to certain New Jersey statutory provisions.
The District Court held that the claims against defendants Devon Brown, Roy Hendricks, and Correctional Medical Services must be dismissed, as Szemple made no claims that those defendants were personally involved. The Court dismissed the claims against all defendants in their official capacities, finding they were immune to liability pursuant to the Eleventh Amendment. The Court also held that Szemple’s disciplinary confinement did not rise to the level of an atypical or significant hardship that might create a protected liberty interest and therefore dismissed his due process claims. Finally, the District Court recognized that a retaliation claim can survive even when the retaliatory action does not involve a liberty interest, but determined that Szemple’s statement to Talbot, along with his body language, was the motivating factor for the disciplinary charge against Szemple, rather than Szemple’s previously filed lawsuit. The District Court concluded that Szemple’s complaint failed to state a claim upon which relief could be granted, and dismissed the complaint.
Our review of a court’s sua sponte dismissal of a complaint pursuant to 28 U.S.C. § 1915(e) is plenary. Allah v. Seiverling, 229 F.3d 220, 223 (3d Cir.2000). We accept the factual allegations of the complaint as true and make all reasonable inferences therefrom. Id. For the reasons stated by the District Court, we agree that Szemple’s claims against those defendants who were not alleged to be personally involved, as well as his claims for damages against state officials in their official capacities, must be dismissed. We further agree that Szemple’s allegations do not show that he was deprived of a liberty interest, and that his due process claims must be dismissed.
Turning to the retaliation claim, as the District Court properly noted, “A prisoner alleging retaliation must show (1) constitutionally protected conduct, (2) an adverse action by prison officials sufficient to deter a person of ordinary firmness from exercising his constitutional rights, and (3) a causal link between the exercise of his constitutional rights and the adverse action taken against him.” Mitchell v. Horn, 318 F.3d 523, 530 (3d Cir.2003) (internal quotations and citations omitted). Szemple’s filing of his 2003 lawsuit was an exercise of his First Amendment right of access to the courts. However, the District Court found that Szemple did not meet the second and third prongs. First, the Court found he had not suffered an adverse action, as he was found not guilty of the charge against him. Second, the Court found that Szemple had not established a causal link. We agree that Szemple’s complaint failed to state a claim for retaliation.
As to the adverse action requirement, we have found that confinement in administrative segregation can constitute adverse action. Allah, 229 F.3d at 225-26. However, Szemple’s confinement was limited to a few days, and his complaint does not describe any conditions of confinement that would deter a person of ordinary firmness from exercising his constitutional rights.
We further agree that Szemple failed to show a causal link between the lawsuit he had filed a year before and Talbot’s initiation of disciplinary charges against him. Rather, Talbot indicated that he felt threatened by Szemple’s body language and his statement, ‘We’ll see about that.” Because Szemple failed to satisfy the ele*55ments of a retaliation claim, the District Court properly dismissed the claim.
For the foregoing reasons, and those stated by the District Court, we will affirm the District Court’s judgment.1
. The Clerk is hereby directed to file Appellant's pro se Brief and Appendix.