This dataset contains the data used in the peer-reviewed journal article cited here. The data comprises accuracy and RT scores obtained from the comprehension and production post-tests measuring grammatical knowledge acquired by adults (n = 100) under incidental and explicit learning conditions, as well as WM (Operation and Reading span test) scores. The data was collected using E-Prime 2 software after participants completed training under one of the four incidental or an explicit learning condition.