By writing, you usually remember things a bit better than by typing. Research does not show a very clear advantage of writing or typing. Writing and typing both have their pros and cons. The advantage of typing is that it is faster than writing, allowing students to keep up with the teacher more easily. Additionally, typed notes are often more organized and are easy to sort and store. The downside of typing is that students often transcribe what the teacher says verbatim, which means they are not engaging in deep processing of the material. Moreover, laptops bring the risk of digital distractions such as social media or games. Writing is slower than typing, and the slower pace combined with the fact that you are physically (motorically) engaged means you are more consciously involved and activate your brain more. You need to think more and thus remember it better. For this, use the Cornell method, for example. The research showed that students who took notes by hand remembered more of the lecture than students who typed their notes. This was evident from a test taken half an hour later. Moreover, they scored slightly higher on the comprehension questions. In summary: both typing and writing have their pros and cons. If you look at the entire literature, there are various studies that show relatively small advantages of writing over typing.
Bui, D. C., Myerson, J., & Hale, S. (2013). Note-taking with computers: Exploring alternative strategies for improved recall. Journal of Educational Psychology, 105(2), 299
Hembrooke, H., & Gay, G. (2003). The laptop and the lecture: The effects of multitasking in learning environments. Journal of Computing in Higher Education, 15(1), 46ā64.
Luo, L., Kiewra, K. A., Flanigan, A. E., & Peteranetz, M. S. (2018). Laptop versus longhand note taking: Effects on lecture notes and achievement. Instructional Science, 46(6), 947-971.
Morehead, K., Dunlosky, J., & Rawson, K. A. (2019). How much mightier is the pen than the keyboard for note-taking? A replication and extension of mueller and oppenheimer (2014). Educational Psychology Review, 1-28.