CINXE.COM
<!DOCTYPE html> <html lang="en" prefix="og: http://ogp.me/ns#" dir="ltr"> <head> <meta http-equiv="expires" content="0"> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="dns-prefetch" href="https://www.apple.com/" /> <link rel="preconnect" href="https://www.apple.com/" crossorigin /> <title lang="en">What to do before you sell, give away, trade in, or recycle your Mac - Apple Support (LK)</title> <meta name="description" content="Reset your Mac to factory settings to prepare it for a new owner." /> <link rel="canonical" href="https://support.apple.com/en-lk/102773" /> <meta property="og:url" content="https://support.apple.com/en-lk/102773" /> <meta property="og:title" content="What to do before you sell, give away, trade in, or recycle your Mac - Apple Support (LK)" /> <meta property="og:description" content="Reset your Mac to factory settings to prepare it for a new owner." /> <meta property="og:site_name" content="Apple Support" /> <meta property="og:locale" content="en_LK" /> <meta property="og:type" content="article" /> <link rel="icon" href="/favicon.ico"> <link rel="apple-touch-icon" href="/favicon.ico"> <link rel="alternate" hreflang="en-ie" href="https://support.apple.com/en-ie/102773"> <link rel="alternate" hreflang="ar-kw" href="https://support.apple.com/ar-kw/102773"> <link rel="alternate" hreflang="en-il" href="https://support.apple.com/en-il/102773"> <link rel="alternate" hreflang="en-in" href="https://support.apple.com/en-in/102773"> <link rel="alternate" hreflang="en-ae" href="https://support.apple.com/en-ae/102773"> <link rel="alternate" hreflang="en-za" href="https://support.apple.com/en-za/102773"> <link rel="alternate" hreflang="no-no" href="https://support.apple.com/no-no/102773"> <link rel="alternate" hreflang="en-al" href="https://support.apple.com/en-al/102773"> <link rel="alternate" hreflang="en-is" href="https://support.apple.com/en-is/102773"> <link rel="alternate" hreflang="el-gr" href="https://support.apple.com/el-gr/102773"> <link rel="alternate" hreflang="en-am" href="https://support.apple.com/en-am/102773"> <link rel="alternate" hreflang="nl-nl" href="https://support.apple.com/nl-nl/102773"> <link rel="alternate" hreflang="en-au" href="https://support.apple.com/en-au/102773"> <link rel="alternate" hreflang="he-il" href="https://support.apple.com/he-il/102773"> <link rel="alternate" hreflang="en-az" href="https://support.apple.com/en-az/102773"> <link rel="alternate" hreflang="hu-hu" href="https://support.apple.com/hu-hu/102773"> <link rel="alternate" hreflang="en-jo" href="https://support.apple.com/en-jo/102773"> <link rel="alternate" hreflang="en-bh" href="https://support.apple.com/en-bh/102773"> <link rel="alternate" hreflang="es-cl" href="https://support.apple.com/es-cl/102773"> <link rel="alternate" hreflang="fr-sn" href="https://support.apple.com/fr-sn/102773"> <link rel="alternate" hreflang="fr-ca" href="https://support.apple.com/fr-ca/102773"> <link rel="alternate" hreflang="es-co" href="https://support.apple.com/es-co/102773"> <link rel="alternate" hreflang="en-bn" href="https://support.apple.com/en-bn/102773"> <link rel="alternate" hreflang="pl-pl" href="https://support.apple.com/pl-pl/102773"> <link rel="alternate" hreflang="pt-pt" href="https://support.apple.com/pt-pt/102773"> <link rel="alternate" hreflang="en-sa" href="https://support.apple.com/en-sa/102773"> <link rel="alternate" hreflang="ar-eg" href="https://support.apple.com/ar-eg/102773"> <link rel="alternate" hreflang="fr-be" href="https://support.apple.com/fr-be/102773"> <link rel="alternate" hreflang="en-bw" href="https://support.apple.com/en-bw/102773"> <link rel="alternate" hreflang="en-sg" href="https://support.apple.com/en-sg/102773"> <link rel="alternate" hreflang="en-by" href="https://support.apple.com/en-by/102773"> <link rel="alternate" hreflang="en-ke" href="https://support.apple.com/en-ke/102773"> <link rel="alternate" hreflang="en-ge" href="https://support.apple.com/en-ge/102773"> <link rel="alternate" hreflang="en-om" href="https://support.apple.com/en-om/102773"> <link rel="alternate" hreflang="hr-hr" href="https://support.apple.com/hr-hr/102773"> <link rel="alternate" hreflang="zh-mo" href="https://support.apple.com/zh-mo/102773"> <link rel="alternate" hreflang="de-at" href="https://support.apple.com/de-at/102773"> <link rel="alternate" hreflang="en-gu" href="https://support.apple.com/en-gu/102773"> <link rel="alternate" hreflang="en-gw" href="https://support.apple.com/en-gw/102773"> <link rel="alternate" hreflang="fr-gn" href="https://support.apple.com/fr-gn/102773"> <link rel="alternate" hreflang="fr-gq" href="https://support.apple.com/fr-gq/102773"> <link rel="alternate" hreflang="cs-cz" href="https://support.apple.com/cs-cz/102773"> <link rel="alternate" hreflang="en-ph" href="https://support.apple.com/en-ph/102773"> <link rel="alternate" hreflang="zh-tw" href="https://support.apple.com/zh-tw/102773"> <link rel="alternate" hreflang="en-hk" href="https://support.apple.com/en-hk/102773"> <link rel="alternate" hreflang="ko-kr" href="https://support.apple.com/ko-kr/102773"> <link rel="alternate" hreflang="sk-sk" href="https://support.apple.com/sk-sk/102773"> <link rel="alternate" hreflang="ar-om" href="https://support.apple.com/ar-om/102773"> <link rel="alternate" hreflang="ru-ru" href="https://support.apple.com/ru-ru/102773"> <link rel="alternate" hreflang="en-qa" href="https://support.apple.com/en-qa/102773"> <link rel="alternate" hreflang="sv-se" href="https://support.apple.com/sv-se/102773"> <link rel="alternate" hreflang="da-dk" href="https://support.apple.com/da-dk/102773"> <link rel="alternate" hreflang="uk-ua" href="https://support.apple.com/uk-ua/102773"> <link rel="alternate" hreflang="en-mk" href="https://support.apple.com/en-mk/102773"> <link rel="alternate" hreflang="en-us" href="https://support.apple.com/en-us/102773"> <link rel="alternate" hreflang="en-mn" href="https://support.apple.com/en-mn/102773"> <link rel="alternate" hreflang="en-eg" href="https://support.apple.com/en-eg/102773"> <link rel="alternate" hreflang="en-mo" href="https://support.apple.com/en-mo/102773"> <link rel="alternate" hreflang="en-uz" href="https://support.apple.com/en-uz/102773"> <link rel="alternate" hreflang="fr-ne" href="https://support.apple.com/fr-ne/102773"> <link rel="alternate" hreflang="en-mt" href="https://support.apple.com/en-mt/102773"> <link rel="alternate" hreflang="nl-be" href="https://support.apple.com/nl-be/102773"> <link rel="alternate" hreflang="zh-cn" href="https://support.apple.com/zh-cn/102773"> <link rel="alternate" hreflang="en-mz" href="https://support.apple.com/en-mz/102773"> <link rel="alternate" hreflang="en-my" href="https://support.apple.com/en-my/102773"> <link rel="alternate" hreflang="fr-ml" href="https://support.apple.com/fr-ml/102773"> <link rel="alternate" hreflang="fr-mu" href="https://support.apple.com/fr-mu/102773"> <link rel="alternate" hreflang="en-ng" href="https://support.apple.com/en-ng/102773"> <link rel="alternate" hreflang="el-cy" href="https://support.apple.com/el-cy/102773"> <link rel="alternate" hreflang="en-vn" href="https://support.apple.com/en-vn/102773"> <link rel="alternate" hreflang="de-ch" href="https://support.apple.com/de-ch/102773"> <link rel="alternate" hreflang="ja-jp" href="https://support.apple.com/ja-jp/102773"> <link rel="alternate" hreflang="ar-qa" href="https://support.apple.com/ar-qa/102773"> <link rel="alternate" hreflang="en-nz" href="https://support.apple.com/en-nz/102773"> <link rel="alternate" hreflang="ro-ro" href="https://support.apple.com/ro-ro/102773"> <link rel="alternate" hreflang="tr-tr" href="https://support.apple.com/tr-tr/102773"> <link rel="alternate" hreflang="fr-fr" href="https://support.apple.com/fr-fr/102773"> <link rel="alternate" hreflang="vi-vn" href="https://support.apple.com/vi-vn/102773"> <link rel="alternate" hreflang="en-gb" href="https://support.apple.com/en-gb/102773"> <link rel="alternate" hreflang="fi-fi" href="https://support.apple.com/fi-fi/102773"> <link rel="alternate" hreflang="en-kg" href="https://support.apple.com/en-kg/102773"> <link rel="alternate" hreflang="en-ca" href="https://support.apple.com/en-ca/102773"> <link rel="alternate" hreflang="fr-tn" href="https://support.apple.com/fr-tn/102773"> <link rel="alternate" hreflang="ar-ae" href="https://support.apple.com/ar-ae/102773"> <link rel="alternate" hreflang="en-kw" href="https://support.apple.com/en-kw/102773"> <link rel="alternate" hreflang="en-kz" href="https://support.apple.com/en-kz/102773"> <link rel="alternate" hreflang="fr-cf" href="https://support.apple.com/fr-cf/102773"> <link rel="alternate" hreflang="fr-ci" href="https://support.apple.com/fr-ci/102773"> <link rel="alternate" hreflang="fr-ch" href="https://support.apple.com/fr-ch/102773"> <link rel="alternate" hreflang="es-us" href="https://support.apple.com/es-us/102773"> <link rel="alternate" hreflang="fr-cm" href="https://support.apple.com/fr-cm/102773"> <link rel="alternate" hreflang="en-lb" href="https://support.apple.com/en-lb/102773"> <link rel="alternate" hreflang="en-tj" href="https://support.apple.com/en-tj/102773"> <link rel="alternate" hreflang="en-tm" href="https://support.apple.com/en-tm/102773"> <link rel="alternate" hreflang="ar-sa" href="https://support.apple.com/ar-sa/102773"> <link rel="alternate" hreflang="de-de" href="https://support.apple.com/de-de/102773"> <link rel="alternate" hreflang="en-lk" href="https://support.apple.com/en-lk/102773"> <link rel="alternate" hreflang="fr-ma" href="https://support.apple.com/fr-ma/102773"> <link rel="alternate" hreflang="zh-hk" href="https://support.apple.com/zh-hk/102773"> <link rel="alternate" hreflang="de-li" href="https://support.apple.com/de-li/102773"> <link rel="alternate" hreflang="pt-br" href="https://support.apple.com/pt-br/102773"> <link rel="alternate" hreflang="ar-bh" href="https://support.apple.com/ar-bh/102773"> <link rel="alternate" hreflang="es-es" href="https://support.apple.com/es-es/102773"> <link rel="alternate" hreflang="ar-jo" href="https://support.apple.com/ar-jo/102773"> <link rel="alternate" hreflang="fr-mg" href="https://support.apple.com/fr-mg/102773"> <link rel="alternate" hreflang="es-mx" href="https://support.apple.com/es-mx/102773"> <link rel="alternate" hreflang="it-it" href="https://support.apple.com/it-it/102773"> <link rel="alternate" hreflang="en-ug" href="https://support.apple.com/en-ug/102773"> <link rel="alternate" hreflang="id-id" href="https://support.apple.com/id-id/102773"> <link rel="alternate" hreflang="de-lu" href="https://support.apple.com/de-lu/102773"> <link rel="alternate" hreflang="en-md" href="https://support.apple.com/en-md/102773"> <link rel="alternate" hreflang="fr-lu" href="https://support.apple.com/fr-lu/102773"> <link rel="alternate" hreflang="en-me" href="https://support.apple.com/en-me/102773"> <link rel="alternate" hreflang="th-th" href="https://support.apple.com/th-th/102773"> <style> .viewport-content{margin-left:auto;margin-right:auto;width:980px}.viewport-content{margin-left:auto;margin-right:auto;width:692px}.viewport-content{margin-left:auto;margin-right:auto;width:87.5%}.viewport-content{margin-left:auto;margin-right:auto;width:980px}.viewport-content{margin-left:auto;margin-right:auto;width:692px}.viewport-content{margin-left:auto;margin-right:auto;width:87.5%}.subheader{font-size:21px;line-height:1.381;font-weight:400;letter-spacing:.011em;font-family:SF Pro Display,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif}.subheader{font-size:19px;line-height:1.4211;font-weight:400;letter-spacing:.012em;font-family:SF Pro Display,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif}.globalnav-placeholder{height:44px}.globalnav-placeholder{height:48px}.globalnav-curtain{background:rgba(232,232,237,.4);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);visibility:hidden;position:fixed;opacity:0;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:9998;transition:opacity .32s cubic-bezier(.4,0,.6,1) 80ms,visibility .32s step-end 80ms}.globalheader-light .globalnav-curtain{background:rgba(232,232,237,.4)}.globalnav-link-text-container{display:flex}.globalnav-link svg{transform:translateZ(0)}.globalnav-submenu-trigger-item{list-style:none}.globalnav-bag-badge{--globalnav-badge-background:rgb(0, 0, 0);--globalnav-badge-text-color:rgb(255, 255, 255);top:auto;bottom:11px;display:inline-block;position:absolute;z-index:1;width:1.3em;height:1.3em;box-sizing:border-box;float:none;color:var(--globalnav-badge-text-color);font-size:10px;letter-spacing:-.008em;line-height:1.3;text-align:center;pointer-events:none}.globalnav-bag-badge{bottom:13px}.globalnav-bag-badge-separator{background:var(--globalnav-badge-background);width:1em;height:100%;position:absolute;top:0;transform:scaleX(0);transition:transform .3s cubic-bezier(.25,.1,.3,1)}.globalnav-bag-badge-number{display:block;position:relative;z-index:2;font-family:SF Pro Text,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;letter-spacing:inherit;transition:transform .3s cubic-bezier(.25,.1,.3,1)}.globalnav-bag-badge-unit{opacity:0;display:inline-block;position:absolute;top:0;z-index:2;font-family:SF Pro Text,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif;font-feature-settings:"case";transition:opacity .1s cubic-bezier(.25,.1,.3,1)}.globalnav-bag-wrapper{position:relative}.globalnav-image-compact,.globalnav-link-bag svg{pointer-events:none}.viewport-content{margin-inline-start:auto;margin-inline-end:auto;width:980px}.viewport-content{margin-inline-start:auto;margin-inline-end:auto;width:692px}.viewport-content{margin-inline-start:auto;margin-inline-end:auto;width:87.5%} </style> <link rel="preload" as="style" href="/clientside/build/app-ac.css" onload="this.onload=null;this.rel='stylesheet'"> <noscript> <link rel="stylesheet" href="/clientside/build/app-ac.css" type="text/css" /> </noscript> <link rel="preload" as="style" href="/clientside/build/gb_ltr_rtl_common.css" onload="this.onload=null;this.rel='stylesheet'"> <noscript> <link rel="stylesheet" href="/clientside/build/gb_ltr_rtl_common.css" type="text/css" /> </noscript> <link rel="preload" as="style" href="//www.apple.com/wss/fonts?families=SF+Pro,v1:200,300,400,500,600|SF+Pro+Icons,v1" onload="this.onload=null;this.rel='stylesheet'"> <noscript> <link rel="stylesheet" href="//www.apple.com/wss/fonts?families=SF+Pro,v1:200,300,400,500,600|SF+Pro+Icons,v1" type="text/css" /> </noscript> <script> var data = { showHelpFulfeedBack: true, isPreview : false, showPricingTool: false, podCookie: "lk~en", dtmPageName: "acs.pageload", locale: "en_US", id: "102773", contentType: "RC", domain: "support.apple.com", isNeighborJsEnabled: true, showPricingServiceTypeDropdown: false, showPricingProductDropdown:true, showPricingModelDropdown:true, urlLocale: "en-lk", pricingProductId:"pricing_mac", pricingServiceItemId:"", supportCategory: "", showRecommendation : true, configApiURL : "https://support.apple.com/ols/api/config", isSecureEnv : "", contentDropdownSelectedOption: "", isOberonContent: false, enableAskAppleChat: false, akamaiEdgeScapeURL: "https://support.apple.com/edge-sight" } //for launch - video tracking window.appState = JSON.stringify(data); </script> <!-- Below CSS is to disable videos click and hide play button on page load --> <style> .videoComponentContainer > a.videoComponent{ pointer-events: none; } .videoComponentContainer > a.videoComponent .thumbnail-button{ display: none; } </style> <script> var _applemd = { page: { site_section: "kb", content_type: "RC", info_type: "", topics: "", in_house: "", locale: "en-lk", friendly_content: { title: `What to do before you sell, give away, trade in, or recycle your Mac`, publish_date: "09162024", content_id: "102773", status: "unarchieved", version: "2.0.0.0" }, testandtarget:{ throttle:"0.0" }, }, product: { list: ["acs::kb::productcategory::CS - Device::Mac",] } , }; const isMobilePlayer = /iPhone|iPod|Android/i.test(navigator.userAgent); </script> <script src="/clientside/build/nn.js" type="text/javascript" charset="utf-8"></script> <script> var neighborInitData = { appDataSchemaVersion: '2.0.0', webVitalDataThrottlingPercentage: 100, reportThrottledWebVitalDataTypes: ['system:dom-content-loaded', 'system:load', 'system:unfocus', 'system:focus', 'system:unload', 'system:page-hide', 'system:visibility-change-visible', 'system:visibility-change-hidden', 'system:event', 'app:load', 'app:unload', 'app:event'], trackMarcomSearch: true, trackSurvey: true, endpoint: 'https://supportmetrics.apple.com/content/services/stats' } </script> <noscript> <style> .videoComponentContainer > a.videoComponent{ pointer-events: unset; } .videoComponentContainer > a.videoComponent .thumbnail-button{ display: unset; } </style> </noscript> </head> <body class="ac-gn-current-support no-js "> <link rel="stylesheet" type="text/css" href="https://www.apple.com/api-www/global-elements/global-header/v1/assets/globalheader.css" /> <div id="globalheader" class="globalnav-scrim globalheader-light"> <nav id="globalnav" lang="en_LK" dir="ltr" aria-label="Global" data-analytics-element-engagement-start="globalnav:onFlyoutOpen" data-analytics-element-engagement-end="globalnav:onFlyoutClose" data-store-api="https://www.apple.com/[storefront]/shop/bag/status" data-analytics-activitymap-region-id="global nav" data-analytics-region="global nav" class="globalnav no-js" > <div class="globalnav-content"> <ul id="globalnav-list" class="globalnav-list" aria-labelledby="globalnav-menutrigger-button" > <li data-analytics-element-engagement="globalnav hover - apple" class="globalnav-item globalnav-item-apple" > <a href="https://www.apple.com/" data-globalnav-item-name="apple" data-analytics-title="apple home" aria-label="Apple" class="globalnav-link globalnav-link-apple" > <span class="globalnav-image-regular globalnav-link-image"> <svg height="44" viewBox="0 0 14 44" width="14" xmlns="http://www.w3.org/2000/svg" > <path d="m13.0729 17.6825a3.61 3.61 0 0 0 -1.7248 3.0365 3.5132 3.5132 0 0 0 2.1379 3.2223 8.394 8.394 0 0 1 -1.0948 2.2618c-.6816.9812-1.3943 1.9623-2.4787 1.9623s-1.3633-.63-2.613-.63c-1.2187 0-1.6525.6507-2.644.6507s-1.6834-.9089-2.4787-2.0243a9.7842 9.7842 0 0 1 -1.6628-5.2776c0-3.0984 2.014-4.7405 3.9969-4.7405 1.0535 0 1.9314.6919 2.5924.6919.63 0 1.6112-.7333 2.8092-.7333a3.7579 3.7579 0 0 1 3.1604 1.5802zm-3.7284-2.8918a3.5615 3.5615 0 0 0 .8469-2.22 1.5353 1.5353 0 0 0 -.031-.32 3.5686 3.5686 0 0 0 -2.3445 1.2084 3.4629 3.4629 0 0 0 -.8779 2.1585 1.419 1.419 0 0 0 .031.2892 1.19 1.19 0 0 0 .2169.0207 3.0935 3.0935 0 0 0 2.1586-1.1368z" ></path> </svg> </span> <span class="globalnav-image-compact globalnav-link-image"> <svg height="48" viewBox="0 0 17 48" width="17" xmlns="http://www.w3.org/2000/svg" > <path d="m15.5752 19.0792a4.2055 4.2055 0 0 0 -2.01 3.5376 4.0931 4.0931 0 0 0 2.4908 3.7542 9.7779 9.7779 0 0 1 -1.2755 2.6351c-.7941 1.1431-1.6244 2.2862-2.8878 2.2862s-1.5883-.734-3.0443-.734c-1.42 0-1.9252.7581-3.08.7581s-1.9611-1.0589-2.8876-2.3584a11.3987 11.3987 0 0 1 -1.9373-6.1487c0-3.61 2.3464-5.523 4.6566-5.523 1.2274 0 2.25.8062 3.02.8062.734 0 1.8771-.8543 3.2729-.8543a4.3778 4.3778 0 0 1 3.6822 1.841zm-6.8586-2.0456a1.3865 1.3865 0 0 1 -.2527-.024 1.6557 1.6557 0 0 1 -.0361-.337 4.0341 4.0341 0 0 1 1.0228-2.5148 4.1571 4.1571 0 0 1 2.7314-1.4078 1.7815 1.7815 0 0 1 .0361.373 4.1487 4.1487 0 0 1 -.9867 2.587 3.6039 3.6039 0 0 1 -2.5148 1.3236z" ></path> </svg> </span> <span class="globalnav-link-text"> Apple </span> </a> </li> </ul> </div> </nav> <div id="globalnav-curtain" class="globalnav-curtain"></div> <div id="globalnav-placeholder" class="globalnav-placeholder"></div> </div> <script type="text/javascript" src="https://www.apple.com/api-www/global-elements/global-header/v1/assets/globalheader.umd.js" ></script> <div id="app"> <div class="main section viewport-content" role="main" id="content"> <div id="sections" class=> <h1 class="gb-header">What to do before you sell, give away, trade in, or recycle your Mac</h1> <p class="subheader gb-subheader">Reset your Mac to factory settings to prepare it for a new owner.</p> <h2 class="gb-header">Before you begin</h2> <ul class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">If your Mac is covered by an AppleCare plan, you can <a href="/en-lk/118218" class="gb-anchor">cancel your AppleCare plan</a> or <a href="/en-lk/111801" class="gb-anchor">transfer your AppleCare plan to a new owner</a>.</p></li><li class="gb-list_item"><p class="gb-paragraph">If your Mac doesn't turn on or start up, first <a href="/en-lk/102675" class="gb-anchor">learn what to do if your Mac doesn't start up all the way</a>. Then return to this article if your Mac starts up successfully.</p></li></ul> <h2 class="gb-header">Use Erase All Content and Settings</h2> <p class="gb-paragraph">Erase All Content and Settings is a feature that makes it easier to reset your Mac to factory settings. Your Mac has this feature only if it’s using <a href="/en-lk/109033" class="gb-anchor">macOS Monterey or later</a> and is a <a href="/en-lk/116943" class="gb-anchor">Mac with Apple silicon</a> or a <a href="/en-lk/103265" class="gb-anchor">Mac with the Apple T2 Security Chip</a>.</p> <p class="gb-paragraph">If your Mac has this feature, you don’t need to follow the other steps in this article. Instead, <a href="/en-lk/102664" class="gb-anchor">learn how to use Erase All Content and Settings</a>.</p> <h2 class="gb-header">If you can’t use Erase All Content and Settings</h2> <p class="gb-paragraph">If the Erase All Content and Settings feature isn't available on your Mac, follow these steps instead. Before you begin, it helps to <a href="/en-lk/109033" class="gb-anchor">know which macOS your Mac is using</a>.</p> <h3 class="gb-header">1. Back up or transfer your files</h3> <p class="gb-paragraph">If you don't have a current backup, you can <a href="/en-lk/102307" class="gb-anchor">back up your files</a> to an external storage device or <a href="/en-lk/102613" class="gb-anchor">transfer your files to a new Mac</a>.</p> <h3 class="gb-header">2. Sign out of iTunes</h3> <p class="gb-paragraph">If using macOS Catalina or later, you can skip this step.</p> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">From the menu bar in iTunes, choose Account > Authorizations > Deauthorize This Computer.</p></li><li class="gb-list_item"><p class="gb-paragraph">Enter your Apple Account (Apple ID) information and click Deauthorize. <a href="/en-lk/118292" class="gb-anchor">Learn more about deauthorizing</a>.</p></li></ol> <h3 class="gb-header">3. Sign out of iCloud</h3> <p class="gb-paragraph">When you follow these steps to <a href="/en-lk/104958" class="gb-anchor">sign out of iCloud</a>, you're asked whether to keep a copy of your iCloud data on this Mac. It's faster to just keep a copy, because you will erase your Mac later. </p> <h4 class="gb-header">macOS Ventura or later:</h4> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">Choose Apple menu > System Settings.</p></li><li class="gb-list_item"><p class="gb-paragraph">Click your name in the sidebar of System Settings.</p></li><li class="gb-list_item"><p class="gb-paragraph">On the right, scroll down and click Sign Out.</p></li></ol> <h4 class="gb-header">macOS Monterey, macOS Big Sur, or macOS Catalina:</h4> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">Choose Apple menu > System Preferences.</p></li><li class="gb-list_item"><p class="gb-paragraph">Click Apple ID.</p></li><li class="gb-list_item"><p class="gb-paragraph">Select Overview in the sidebar.</p></li><li class="gb-list_item"><p class="gb-paragraph">Click Sign Out.</p></li></ol> <h4 class="gb-header">Earlier versions of macOS:</h4> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">Choose Apple menu > System Preferences.</p></li><li class="gb-list_item"><p class="gb-paragraph">Click iCloud.</p></li><li class="gb-list_item"><p class="gb-paragraph">Click Sign Out.</p></li></ol> <h3 class="gb-header">4. Sign out of iMessage</h3> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">Open the Messages app.</p></li><li class="gb-list_item"><p class="gb-paragraph">From the menu bar in Messages, choose Messages > Settings (or Preferences).</p></li><li class="gb-list_item"><p class="gb-paragraph">Click iMessage.</p></li><li class="gb-list_item"><p class="gb-paragraph">Click Sign Out.</p></li></ol> <h3 class="gb-header">5. Unpair Bluetooth devices (optional)</h3> <div class="callout gb-callout"><p class="gb-paragraph">If you do this on a Mac that doesn't have a built-in keyboard or trackpad, you will need to plug in a USB keyboard and mouse to complete the remaining steps. </p></div> <p class="gb-paragraph">If your Mac is paired with a Bluetooth keyboard, mouse, or other device that you plan to keep, you can unpair it. This optional step prevents accidental input when the Mac and device have separate owners but remain in Bluetooth range.</p> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">Choose Apple menu > System Settings (or System Preferences).</p></li><li class="gb-list_item"><p class="gb-paragraph">Click Bluetooth.</p></li><li class="gb-list_item"><p class="gb-paragraph">Move your pointer over the device that you want to unpair, then click the Disconnect button or remove button (x) next to the device name.</p></li></ol> <h3 class="gb-header">6. Erase your Mac</h3> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">Shut down your Mac.</p></li><li class="gb-list_item"><p class="gb-paragraph">Start up from macOS Recovery, then use Disk Utility to erase your Mac. For details about both of these actions, follow these steps: <a href="/en-lk/102639" class="gb-anchor">Use Disk Utility to erase an Intel-based Mac</a>.</p></li><li class="gb-list_item"><p class="gb-paragraph">When done, quit Disk Utility but don't restart your Mac.</p></li></ol> <h3 class="gb-header">7. Reinstall macOS</h3> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">While still in macOS Recovery, choose Reinstall macOS, then follow the onscreen instructions. <a href="/en-lk/102655" class="gb-anchor">Learn more about reinstalling macOS from macOS Recovery</a>. </p></li><li class="gb-list_item"><p class="gb-paragraph">After reinstalling macOS, your Mac restarts to a setup assistant. Press Command-Q to shut down instead of continuing setup.</p></li></ol> <h3 class="gb-header">8. Reset NVRAM</h3> <ol class="list gb-list"><li class="gb-list_item"><p class="gb-paragraph">If you're using an Intel-based Mac, follow the steps to <a href="/en-lk/102539" class="gb-anchor">reset NVRAM</a>. This clears user settings from memory and restores certain security features that might have been altered.</p></li><li class="gb-list_item"><p class="gb-paragraph">After resetting NVRAM, your Mac starts up to the setup assistant again. To leave the Mac in an out-of-box state, press Command-Q to shut down instead of continuing setup.</p></li></ol> <div class="note gb-note"><p class="gb-paragraph">No matter the model or condition, we can turn your device into something good for you and good for the planet: <a href="https://www.apple.com/shop/trade-in" class="gb-anchor">Learn how to trade in or recycle your Mac with Apple Trade In</a>.</p></div> <div class='mod-date'> <span>Published Date:</span> <time dateTime=September 16, 2024itemprop='datePublished'>September 16, 2024</time> </div> </div> </div> <div id='helpful-rating-wrapper'> <div id='helpful' class='ratings okapi-enabled'> <div> <fieldset id='question-state' class='show'> <legend class='helpful-heading'> <span id="okapi-a">Helpful?</span> </legend> <div class='helpful-btn-grp'> <button class='button button-reduced button-secondary' id='yes-button' data-ss-analytics-link-component_name='helpful' data-ss-analytics-link-component_type='helpful' data-ss-analytics-link-text='yes' data-ss-analytics-event=acs.link_click title='Solved my problem'> Yes </button> <button class='button button-reduced button-secondary' id='no-button' data-ss-analytics-link-component_name='helpful' data-ss-analytics-link-component_type='helpful' data-ss-analytics-link-text='no' data-ss-analytics-event=acs.link_click title='Not helpful'> No </button> </div> </fieldset> </div> <div id='feedback-state' class="form-element form-textbox-labelbelow hide"> <form autocomplete="off"> <input type='hidden' id='form-counter-error-message' value="Maximum character limit is 250." /> <label id='feedback-label' data-no-label="Thanks for letting us know." data-yes-label="We’re glad this article helped." ></label> <div class='form-element form-textbox-labelbelow' id='feedback'> <div class="textarea-wrapper"> <div> <div class="form-textbox form-textbox-with-counter"> <span class="form-label" id="optional_label" aria-hidden="true"></span> <textarea type="text" class="form-textbox-textarea form-counter-textarea form-text-area form-textbox-input" data-max-length='250' aria-labelledby="optional_label" aria-describedby="char_limit_counter" data-no-placeholder="How can we make this article more helpful? (Optional)" data-yes-placeholder="Anything else you’d like us to know? (Optional)" ></textarea> <div id="char_limit_counter" class="form-textbox-counter-wrapper form-textbox-counter"> <span class="visuallyhidden" id="char-limit-message">Character limit:</span> <span class="form-counter form-textbox-counter">250</span> </div> <div class="form-textbox-aria-live visuallyhidden" aria-live="polite"></div> </div> </div> </div> <div class='form-message-wrapper'> <span class='form-message'>Maximum character limit is 250.</span> </div> <label class='dont-include-label' htmlFor='feedback-note'>Please don’t include any personal information in your comment.</label> <button type='submit' class='button button-secondary' id="submit-feedback" data-ss-analytics-link-component_type='helpful' data-ss-analytics-link-text='submit'> Submit </button> </div> </form> </div> <div id='rating-done' class="hide"> Thanks for your feedback. </div> <div id='results-helpful' class='show'> </div> </div> </div> <div id="recommendations" class="hidden"> <div class="viewport-content recommendations row"> <div class="column icon"> <img src="/clientside/images/related_topics.png" alt="" /> </div> <div class="recommendations-section column section large-6 medium-8 small-12" > <h3 class="recommendations-heading"> Related topics </h3> <ul role="list" id="recommendations-links" class="recommendations-summary" > </ul> </div> </div> </div> </div> <div class="footer-wrapper"> <footer id="ac-globalfooter" lang="en-lk" dir="ltr" class="js no-touch svg no-ie7 no-ie8 footer-global" data-analytics-region="global footer" role="contentinfo" aria-labelledby="ac-gf-label"> <div class="ac-gf-content"> <h2 class="ac-gf-label" id="ac-gf-label">Apple Footer</h2> <nav class="ac-gf-breadcrumbs" aria-label="Breadcrumbs" role="navigation"> <a href="https://www.apple.com" class="home ac-gf-breadcrumbs-home"> <span class="ac-gf-breadcrumbs-home-icon" aria-hidden="true"></span> <span class="ac-gf-breadcrumbs-home-label">Apple</span> <span class="ac-gf-breadcrumbs-home-chevron"></span> <span class="ac-gf-breadcrumbs-home-mask"></span> </a> <div class="ac-gf-breadcrumbs-path"> <ol class="ac-gf-breadcrumbs-list" vocab="http://schema.org/" typeof="BreadcrumbList"> <li class="ac-gf-breadcrumbs-item" property="itemListElement" typeof="ListItem"> <span property="name"> <a href="https://support.apple.com">Support</a> </span> <meta property="position" content="1" /> </li> <li class="ac-gf-breadcrumbs-item" property="itemListElement" typeof="ListItem"> <span property="name">What to do before you sell, give away, trade in, or recycle your Mac</span> <meta property="position" content="2" /> </li> </ol> </div> </nav> <section class="ac-gf-footer" vocab="https://schema.org/" typeof="Organization"> <div class="ac-gf-footer-shop" x-ms-format-detection="none"> Where to buy: <a href="https://locate.apple.com/lk/en/">find a reseller</a>. </div> <div class="ac-gf-footer-locale"> <a class="ac-gf-footer-locale-link" href="https://support.apple.com/en-lk/102773/localeselector" title="Choose your country or region" aria-label="Sri Lanka. Choose your country or region">Sri Lanka</a> </div> <div class="ac-gf-footer-legal"> <div class="ac-gf-footer-legal-copyright"> Copyright © 2024 Apple Inc. All rights reserved. </div> <div class="ac-gf-footer-legal-links"> <a class="ac-gf-footer-legal-link" href="https://www.apple.com/legal/privacy/en-ww/">Privacy Policy</a> <a class="ac-gf-footer-legal-link" href="https://www.apple.com/legal/">Terms of Use</a> </div> </div> <meta content="Apple" property="name"> <meta content="1-800-692-7753" property="telephone"> </section><script src="https://www.apple.com/support/assets/ac-globalfooter/1/en_LK/scripts/ac-globalfooter.built.js" type="text/javascript" charset="utf-8"></script><link rel="stylesheet" type="text/css" href="https://www.apple.com/ac/globalfooter/3/en_US/styles/ac-globalfooter.built.css"> </div> </footer> </div> <script src="/clientside/build/app-ac-route.js" type="text/javascript" charset="utf-8"></script> <script src="/clientside/build/app-launch-route.js" type="text/javascript" charset="utf-8"></script> <script src="/clientside/build/FujiStitchPath.js" type="text/javascript" charset="utf-8"></script> <script src="/clientside/build/launch.js" type="text/javascript" charset="utf-8"></script> <script src="/etc/designs/support/publish/JS/pattern/accsoffer.js" type="text/javascript" charset="utf-8"></script> <div id="apd-aria-live-region" aria-live="polite" role="status" class="a11y"></div> </body> </html>