How To Make Money With Gift Cards

By Mentor Staff | Edited By Mentor Staff

Updated On November 1, 2021

Editorial Note: This content is based solely on the author's opinions and is not provided, approved, endorsed or reviewed by any financial institution or partner.

How do we make money? The products featured on this website are from our partners who compensate us. This may impact which companies we review, the products we evaluate, and where and how a product appears on a page. We receive compensation from a partner when you apply for and receive a product through Mentor. This helps us to support our website, offer free content, tools and calculators, and continue to be one of the leading sources on personal finance.

If you want to know how to make money with gift cards, the answer may be easier than you think: you can sell gift cards on a number of gift cards aftermarkets.

The holidays are over. The presents are unwrapped. And you have a pile of gift cards that you may never use.

You’re not alone. According to CEB TowerGroup, nearly $1 billion in gift cards go unused each year.

Good news for retailers. Bad news for you.

So, what can you do if you want to convert an unused gift card to cash?

Access the gift card aftermarket where sellers can sell gift cards that are unwanted, and buyers can scoop them up at a discount.

Supply and demand drives the dollar amount of the discount offered, but both buyers and sellers are acquiring or disposing of the gift card below face value.

Gift cards can be found across most major retail categories, including department stores, restaurants, home and garden, hotels and travel, health and beauty, clothing and toys.

Top Picks For Student Loan Refinancing

PD9waHAKCWVjaG8gZGF0ZSgnRicpIC4gIiAiIC4gZGF0ZSgiWSIpOwo/Pg==

PGRpdiBjbGFzcz0ibGVuZGVycy10YWJsZS1oZWFkZXItcm93LXdyYXBwZXIiPgoJPGRpdiBjbGFzcz0ibGVuZGVycy10YWJsZS1oZWFkZXItcm93Ij4KCQk8ZGl2IGNsYXNzPSJsZW5kZXItbG9nby1oZWFkZXIgbGVuZGVycy10YWJsZS1oZWFkZXItY2VsbCI+CgkJPC9kaXY+CgkJPGRpdiBjbGFzcz0ibGVuZGVyLXZhcmlhYmxlLWFwci1oZWFkZXIgbGVuZGVycy10YWJsZS1oZWFkZXItY2VsbCI+CgkJCVZhcmlhYmxlIEFQUiA8c3BhbiBjbGFzcz0ibW9yZS1pbmZvLXRvb2x0aXAtdHJpZ2dlciI+PzxzcGFuIGNsYXNzPSJtb3JlLWluZm8tdG9vbHRpcC10ZXh0Ij5BUFIsIG9y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pdGxlKCkgLiAnPC9hPiB8ICc7CgkJCQoJCX0KCQkKCX0KCgl3cF9yZXNldF9wb3N0ZGF0YSgpOwoKCSRvdXRwdXQgPSBzdWJzdHIoICRvdXRwdXQsIDAsIHN0cmxlbiggJG91dHB1dCApIC0gMyApOwoKCWVjaG8gJG91dHB1dDsKPz4=

If you are looking to sell gift cards, here are a few options to navigate the $130 billion gift card market:

1. Cardpool: How To Sell Gift Cards

Cardpool buys unused gift cards in exchange for cash or a gift card to another retailer. When you sell gift cards on Cardpool, you will receive a dollar amount less than the face value of the gift card – up to 92% cash back – and then Cardpool will resell the gift card at a premium to the price Cardpool paid you, but still at a discount to the gift card’s face value. Cardpool’s most popular gift card brands include Macy’s, Best Buy, Home Depot, Victoria Secret, Kmart, Hyatt and others, which are sold at a 3-7% discount to face value.

2. CardCash: How To Sell Gift Cards

CardCash is the largest gift card exchange. CardCash can sell gift cards at a discount up to 35% and buy gift cards up to 92% of face value. The Top 5 selling gift cards at Card Cash are Walmart, Target, Home Depot, Lowes and TJ Maxx. In 2013, Card Cash raised $6 million in funding from Guggenheim. In 2014, CardCash acquired its largest competitor, Plastic Jungle. CardCash also has agreements for gift card exchange with Walmart, Amazon, CVS and United Airlines.

3. Gift Card Granny: How To Sell Gift Cards

With over 350,000 discount gift cards across over 1,000 retailers and restaurants, Gift Card Granny is one of the largest discount gift card providers. Gift Card Granny, which allows users to buy and sell gift cards at a discount to face value, says it receives 12 million visitors each year. In 2016, Gift Card Granny’s best selling gift cards were Amazon, Best Buy, iTunes, Target and Walmart.

4. Card Kangaroo: How To Sell Gift Cards

Card Kangaroo offers discounts up to 35% when you buy gift cards, and offers up to 92% of face value when you sell gift cards (or trade gift cards). The company sends a check or a PayPal transfer within 24 hours.

5. Raise: How To Sell Gift Cards

Raise is an online gift card marketplace. Like eBay or Craigslist, users set their own prices to sell gift cards.

6. Coinstar Exchange Kiosk: How To Sell Gift Cards

The maker of Coinstar kiosks (which convert coins to cash) and RedBox (DVD rental kiosks) now offers a kiosk to sell your gift cards for cash. Coinstar Exchange accepts gift cards from over 150 leading national retailers and restaurants, including Crate & Barrel, Hewlett Packard, Petco, Marriott, Gap, Walmart and others.

While you need to visit the kiosk to convert a gift card to cash, the kiosk will pay you immediately (rather than waiting for a check or money transfer).

Other Gift Card Resources: How To Sell Gift Cards

There are numerous other gift card apps that compete in the gift card space:

  • Gyft: buy, send and redeem gift cards
  • Giftcards.com: make your own gift cards
  • E-gifter: purchase and send a gift card from a group of people
  • Giftagram: gift-giving of curated gifts
  • Elfster: gift exchanges
  • Slide: organizes gift cards

The good news is that spillage, or unused gift card volume, has declined over the past 9 years from 7% to less than 1% of the gift card market.

The bad news is that fraud may be on the rise. That seems counterintuitive as major credit and debit cards shift to more secure chip readers. However, many low-cost gift cards will not migrate to chip readers and still rely on more vulnerable magnetic strip technology, which is considered less secure and prone to fraud.

Before using a gift card app or website, you should check the gift card balance to save time. You can call the phone number on the back of the gift card, or use Cardpool, Gift Card Granny or Raise, for example, all of which have gift card balance checkers.

CEB TowerGroup expects electronic gift cards to reach $18 billion in sales by 2018, driven by payment offerings from Apple and Chase as well as money transfer services such as Venmo and PopMoney.

Let's mentor your money

Get the latest personal finance advice delivered directly to your inbox.