A synthesized small-molecule drug blocks the TGF-beta receptor in astrocytes and traverses the blood-brain barrier in mice. When administered, the drug lowered receptor activity to that seen in younger mice and reduced inflammation. The aged mice were able to navigate mazes and learn spatial tasks as well as younger mice.