For nearly 20 years, Dr. James W. Pennebaker has been giving people an assignment: write down your deepest feelings about an emotional upheaval in your life for 15 or 20 minutes a day for four consecutive days. Many of those who followed his simple instructions have found their immune systems strengthened. Others have seen their grades improved. Sometimes entire lives have changed.

Pennebaker, a professor in the Department of Psychology at The University of Texas at Austin and author of several books, including “Opening Up” and “Writing to Heal,” is a pioneer in the study of using expressive writing as a route to healing. His research has shown that short-term focused writing can have a beneficial effect on everyone from those dealing with a terminal illness to victims of violent crime to college students facing first-year transitions.

“When people are given the opportunity to write about emotional upheavals, they often experience improved health,” Pennebaker says. “They go to the doctor less. They have changes in immune function. If they are first-year college students, their grades tend to go up. People will tell us months afterward that it’s been a very beneficial experience for them.”

In his early research Pennebaker was interested in how people who have powerful secrets are more prone to a variety of health problems. If you could find a way for people to share those secrets, would their health problems improve?

It turned out that often they would, and that it wasn’t even necessary for people to tell their secrets to someone else. The act of simply writing about those secrets, even if they destroyed the writing immediately afterward, had a positive effect on health. Further studies showed that the benefits weren’t just for those who had dramatic secrets, but could also accrue to those who were dealing with divorces, job rejections or even a difficult commute to work.

“Emotional upheavals touch every part of our lives,” Pennebaker explains. “You don’t just lose a job, you don’t just get divorced. These things affect all aspects of who we are—our financial situation, our relationships with others, our views of ourselves, our issues of life and death. Writing helps us focus and organize the experience.”

Our minds are designed to try to understand things that happen to us. When a traumatic event occurs or we undergo a major life transition, our minds have to work overtime to try to process the experience. Thoughts about the event may keep us awake at night, distract us at work and even make us less connected with other people.

When we translate an experience into language we essentially make the experience graspable. Individuals may see improvements in what is called “working memory,” essentially our ability to think about more than one thing at a time. They may also find they’re better able to sleep. Their social connections may improve, partly because they have a greater ability to focus on someone besides themselves.

Pennebaker has been looking at specifically how people use language in their writings and whether certain approaches to language translate into greater benefits from writing… They are discovering some interesting patterns.

“People who are able to construct a story, to build some kind of narrative over the course of their writing seem to benefit more than those who don’t,” Pennebaker says. “In other words, if on the first day of writing, people’s stories are not very structured or coherent, but over the three or four days they are able to come up with a more structured story, they seem to benefit the most.”