A 301 redirect is permanent and transfers SEO value to the new URL, while a 302 redirect is temporary and does not pass SEO value.