{"id":1240,"date":"2020-09-18T12:49:00","date_gmt":"2020-09-18T12:49:00","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/09\/18\/disable-guest-checkout-in-magento-2\/"},"modified":"2025-07-23T10:16:37","modified_gmt":"2025-07-23T04:46:37","slug":"disable-guest-checkout-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/disable-guest-checkout-in-magento-2\/","title":{"rendered":"How to Disable Guest Checkout in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Guest checkout vs mandatory registration is a never-ending debate among E-commerce specialists, marketers, and store owners.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The checkout step is critical where a business cannot afford to make a poor decision as it affects the conversion chance, after all the efforts to bring a visitor and convince him\/her for purchase.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hence, allowing or not the guest checkout can be tricky. Also, it depends on the nature of the business. So, if you are a Magento 2 store owner who cannot allow guest checkout, here\u2019s the stepwise method to&nbsp;<em><strong>disable guest checkout in Magento 2<\/strong><\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of restricting guest checkout in Magento 2:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Collect maximum customer data in the registration form that can be used for effective marketing strategy<\/li>\n\n\n\n<li>Easy repeat purchase for the customers<\/li>\n\n\n\n<li>Get updates on ongoing offers and sales in the store<\/li>\n\n\n\n<li>Avail the benefits of the upgraded customer group<\/li>\n\n\n\n<li>Get relevant product recommendations<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Collecting maximum customer data can be even easier in Magento 2 if you restrict guest checkout as the default&nbsp;Magento 2&nbsp;allows&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/configure-magento-2-customer-accounts\/\" target=\"_blank\" rel=\"noreferrer noopener\">configuring customer accounts<\/a>. So, the admin can easily mandate the fields required and let customers sign up!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, if you think that disabling guest checkout can slow down the purchase process, Meetanshi\u2019s&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-guest-to-customer.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Guest to Customer<\/a>&nbsp;extension can be a win-win situation for your business. It allows the admin to auto-convert guests to registered customers after the checkout step is finished.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For now, you can simply disable guest checkout in Magento 2 store as shown here:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Disable Guest Checkout in Magento 2:<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/09\/Steps-to-Disable-Guest-Checkout-in-Magento-2.png\" alt=\"Steps to Disable Guest Checkout in Magento 2\" class=\"wp-image-10449\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Login<\/strong>&nbsp;to Magento 2 admin panel<\/li>\n\n\n\n<li>Navigate to&nbsp;<strong>Stores &gt; Settings &gt; Configuration<\/strong><\/li>\n\n\n\n<li>Under&nbsp;<strong>Sales<\/strong>, select&nbsp;<strong>Checkout<\/strong><\/li>\n\n\n\n<li>Expand&nbsp;<strong>Checkout Options<\/strong>&nbsp;area<\/li>\n\n\n\n<li>Set<strong>&nbsp;No<\/strong>&nbsp;in&nbsp;<strong>Allow Guest Checkout<\/strong>&nbsp;to disable the checkout for guests.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Save Config<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also refer to the video tutorial to Disable Guest Checkout in Magento 2 from our&nbsp;<a href=\"https:\/\/www.youtube.com\/playlist?list=PLBTOxSAJzwEjM5MilmEqj98Ib80tKBu7r\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 video tutorial<\/a>&nbsp;series:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Disable Guest Checkout in Magento 2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/5A7eQpq7O4k?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to go one step ahead and restrict visitors to access store pages until registration, you can check Magento 2 Force Login where the admin can control the access to store and display an alert message for compulsory login.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do consider sharing this post with Magento Community via Social Media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Guest checkout vs mandatory registration is a never-ending debate among E-commerce specialists, marketers, and store owners. The checkout step is critical where a business cannot&#8230;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1240","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1240"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1240\/revisions"}],"predecessor-version":[{"id":19126,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1240\/revisions\/19126"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}