Markers of neuroinflammation were associated with increases in suicidal ideation and negative affect during stressful real-world contexts.