The primary difference between templates and macros is the type of tasks they automate. Templates automate the process of creating a new document, while macros automate repetitive tasks within an existing document or application.