The relationship between working memory capacity andwriting ability was examined via a linguistic analysis ofstudent essays. Undergraduate students (n = 108) wrotetimed, prompt-based essays and completed a battery ofcognitive assessments. The surface- and discourse-levellinguistic features of students’ essays were then analyzedusing natural language processing tools. The results indicatedthat WM capacity was related to surface-level, but notdiscourse-level features of student essays. Additionally, theresults suggest that these relationships were attenuated forstudents with high inferencing skills, as opposed to those withlower inferencing skills