Cook was speaking at an Apple product unveiling at the company's headquarters, one day before a court hearing on a hotly contested FBI effort to force the company to help break into the iPhone of a shooter involved in a deadly December attack.
"We need to decide as a nation how much power the government should have over our data and our privacy," Cook told the crowd gathered for the event.
"We believe strongly we have an obligation to help protect your data and your privacy. We owe it to our customers. We will not shrink from this responsiblity."
Cook's remarks were the latest in a battle with the US government over efforts to compel Apple to help the FBI break into the iPhone of one of the attackers in last year's deadly shooting rampage in San Bernardino, California.
Apple, backed by a broad coalition of technology giants like Google, Facebook and Yahoo, argues that the FBI is seeking a "back door" into all iPhones as part of the probe into the December 2 massacre that left 14 people dead.
Because of the iPhone's encryption, Apple contends it would need to build a weaker operating system to help the FBI crack the phone's passcode.
The US Justice Department argues that it is making a "modest" demand that could help reveal vital evidence in a terror case.
An FBI victory could serve as a legal precedent backing requests for access to iPhones by law enforcement agencies throughout the United States.
A hearing was set for Tuesday before a magistrate in a federal court in Riverside, California. Whatever the decision, the ruling is likely to get additional hearings before the region's appeals court and possibly the US Supreme Court.
Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.
Samsung Galaxy Watch 9 (44mm, LTE)
Starts from ₹44,999
Samsung Galaxy Watch 9 (40mm, LTE)
Starts from ₹37,999
Samsung Galaxy Watch 9 (40mm)
Starts from ₹37,999
Haier M70 Mini LED 65-inch
Starts from ₹74,990
CMF Buds Neo True Wireless Stereo (TWS) Earphones
Starts from ₹2,199
Xiaomi TV FX Mini LED 65
Starts from ₹64,999
IFA 2026: Lenovo Unveiled New IdeaPad, Yoga and ThinkBook Laptops
IFA 2026: Nvidia RTX Spark PCs, Local AI Tools Announced With October Launch Planned
Luna Band Now Available Globally: Check Price in India, Specifications and Features