EXHIBIT 23 CONSENT OF INDEPENDENT ACCOUNTANTS We hereby consent to the incorporation by reference in this Registration Statement on Form S-8 of our report dated February 11, 2002 relating to the financial statements, which appears in the 3M Company Annual Report on Form 10-K for the year ended December 31, 2001. /s/ PricewaterhouseCoopers LLP PricewaterhouseCoopers LLP Minneapolis, Minnesota December 9, 2002