In what is perhaps the most significant evidence yet that chronic fatigue syndrome has a biological basis, researchers said they found an immune system signature that is present in newly diagnosed patients but not in healthy people.

The pattern, published on Friday in a paper in Science Advances, wasn’t seen in people who had been ill for more than three years, but the discovery may help identify and treat patients earlier.

The...