Most NFTs look like they’re stored on the blockchain. They’re not. The image, video, or audio file linked to your Bored Ape or CryptoPunk? That’s probably sitting on IPFS - not on Ethereum or Solana. And if you don’t understand how IPFS works, your NFT could vanish overnight.
Why Blockchains Can’t Store NFT Media
Blockchains like Ethereum are great for recording ownership. They’re secure, tamper-proof, and permanent. But they’re terrible at storing large files. Storing a single 1MB image on Ethereum costs between $50 and $100. Multiply that by 10,000 NFTs in a collection? That’s half a million dollars in gas fees alone. No project can afford that. So instead, NFTs store a tiny pointer - a link - to where the real data lives. That link is called a CID, or Content Identifier. It’s a unique string likeipfs://QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco. The actual image, metadata, or audio file? That’s stored on IPFS.
What Is IPFS, Really?
IPFS stands for InterPlanetary File System. It’s not a website. It’s not a cloud service like Dropbox or AWS. It’s a peer-to-peer network where files are stored by anyone who wants to help keep them alive. Think of it like BitTorrent, but for everything on the web. Instead of asking for a file from a server athttps://example.com/image.jpg, you ask for a file by its hash: ipfs://Qm.... Every copy of that file - no matter where it’s stored - has the same hash. If someone changes the file, even by one pixel, the hash changes. That means you can always verify you’re seeing the exact file that was originally linked to your NFT.
IPFS was created by Juan Benet and Protocol Labs in 2015. Since then, it’s become the default storage layer for NFTs. As of late 2023, about 78% of all NFT collections use IPFS for their metadata and media. OpenSea, Rarible, Foundation, and even Bored Ape Yacht Club rely on it.
How IPFS Keeps NFTs From Disappearing
Here’s the catch: IPFS doesn’t automatically store your files forever. Nodes on the network only keep files they’re interested in - or have been paid to store. If no one is pinning your NFT’s files, they’ll eventually disappear. Pinning means telling a node: “Keep this file alive for me.” You can pin files yourself by running an IPFS node. But most people use pinning services. Two popular ones are:- NFT.Storage - Free, run by Protocol Labs. Lets you store up to 5GB with no bandwidth limits. Used by over 130,000 projects.
- Pinata - Paid service. Starts at $19/month for 1TB storage and 100GB bandwidth. Used by 50,000+ active projects.
The CID: Your NFT’s Digital Fingerprint
Every file on IPFS gets a CID. It’s not just a link. It’s a cryptographic fingerprint. If you change the file, even slightly, the CID changes. That’s why IPFS is so secure - you can prove the file hasn’t been altered. There are two CID versions: v0 and v1. Most NFTs still use v0, but newer systems are moving to v1. If your NFT metadata uses v1 and your wallet or marketplace only supports v0, the image might not load. That’s why tools like NFT.Storage automatically generate both versions. Your NFT’s metadata file (usually a JSON file) looks something like this:{
"name": "CryptoKitty #1234",
"description": "A rare blue-eyed kitty.",
"image": "ipfs://QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco",
"attributes": [
{"trait_type": "Eye Color", "value": "Blue"}
]
}
The image field points to the CID. That’s it. The blockchain doesn’t store the image. It just stores the CID. When you open your NFT in MetaMask or OpenSea, your browser fetches the file from IPFS using that CID.
How Public Gateways Can Break Your NFT
Most people never connect directly to IPFS nodes. They use public gateways - websites that act as bridges between HTTP and IPFS. Common ones include:ipfs.iocloudflare-ipfs.comdweb.link
IPFS vs Alternatives: Arweave, Filecoin, and Centralized Storage
IPFS isn’t the only option. Here’s how it stacks up:| Storage Type | Cost Model | Permanence | Privacy | Best For |
|---|---|---|---|---|
| IPFS | Pinning required (free or paid) | High, if pinned | No - all content is public | Most NFTs, low-cost storage |
| Arweave | One-time payment (≈$10-$50 per NFT) | Guaranteed forever | No | High-value NFTs, art collectors |
| Filecoin | Pay per GB/month in FIL tokens | High, if paid | No | Projects needing scalable storage |
| AWS S3 | Monthly fees | Low - can be deleted anytime | Yes | Private NFTs, enterprise use |
Real-World Risks: When NFTs Disappear
In 2021, a Stanford study found that 32.7% of NFTs on Ethereum already had broken links. Why? Because creators uploaded to IPFS but never pinned them. Or they used a free service that stopped hosting their files. One Reddit user lost 15 ETH in value when their NFT collection vanished because they stopped manually pinning. Another creator, ‘CryptoPunkArtist’, uploaded 10,000 NFTs to NFT.Storage - and they’re still working 14 months later, free of charge. The lesson? If you’re minting NFTs, don’t assume the platform handles everything. Even OpenSea and Foundation rely on IPFS - but they don’t guarantee pinning. You need to check.
How to Use IPFS for Your NFT Project
Here’s the simple three-step process:- Upload your files - images, videos, metadata - to a pinning service like NFT.Storage or Pinata. You’ll get a CID back.
- Update your NFT metadata - replace any HTTP links with the IPFS CID in the
imagefield. - Verify persistence - use a tool like NFT.Storage Checker (in beta) to confirm your files are still accessible across multiple gateways.
What’s Next for IPFS and NFTs
The biggest problem with IPFS isn’t the tech - it’s the assumption that storage is permanent. That’s changing. In July 2023, NFT.Storage launched “Verifiable Storage,” which uses the Filecoin blockchain to prove your files are being stored. Protocol Labs also released IPFS Cluster v0.16.0, which cuts content loss by 37%. Projects like Optimism’s “NFT Resurrection” are testing a new idea: use transaction fees to automatically repin NFTs that are at risk. That could be a game-changer. But experts agree: IPFS will remain the backbone of NFT storage for at least the next five years. Its network effects, developer tools, and integration with major blockchains are too strong to replace quickly.Final Checklist: Is Your NFT Safe?
Before you mint your next NFT, ask yourself:- Are you using a CID (ipfs://Qm...) and not an HTTP link?
- Are you using a pinning service - not just uploading and forgetting?
- Have you tested your NFT on multiple gateways (ipfs.io, cloudflare-ipfs.com, dweb.link)?
- Do you have a backup copy of your metadata and media files?
- Are you aware that public gateways can go down - and your NFT might break with them?
IPFS isn’t magic. It’s infrastructure. And like any infrastructure, it only works if you maintain it.
Is IPFS the same as blockchain?
No. IPFS is a file storage system. Blockchain records ownership. Your NFT’s token lives on the blockchain. The image, audio, or metadata lives on IPFS. The blockchain only holds the CID - the address - to find the file.
Can I store private NFTs on IPFS?
Not easily. IPFS is public by default. Anyone with the CID can access your file. If you need privacy, you’ll need to encrypt the files before uploading, or use a centralized service like AWS S3. Some projects combine IPFS with encryption, but it’s complex and not standard.
What happens if my pinning service shuts down?
Your NFT’s files might disappear - unless other nodes are pinning them. That’s why it’s smart to use multiple pinning services. NFT.Storage and Pinata both offer APIs to replicate your data across networks. For critical NFTs, consider Arweave or self-hosting a node.
Do I need to pay for IPFS storage?
Not always. NFT.Storage offers free storage up to 5GB with no bandwidth limits. But if you’re storing large collections (10,000+ NFTs), you’ll likely need a paid service like Pinata, which starts at $19/month. Free tiers are great for testing, but not for long-term reliability.
How do I check if my NFT’s IPFS file is still live?
Copy your CID (like QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco) and paste it into any IPFS gateway: https://ipfs.io/ipfs/Qm... or https://cloudflare-ipfs.com/ipfs/Qm... If the image loads, it’s alive. Use multiple gateways to be sure. Tools like NFT.Storage Checker will soon automate this.
Can I change my NFT’s image after minting?
No - not without breaking the link. Once you mint an NFT, the CID is locked into the smart contract. If you update the file, it gets a new CID. The old one breaks. That’s why NFT creators plan their assets carefully before minting. Some use IPNS (InterPlanetary Naming System) for mutable links, but it’s rarely used in mainstream NFTs.