To celebrate its 40th birthday, The Cheesecake Factory is giving 40,000 lucky customers the chance to sink their teeth into some cheesecake goodness for absolutely free.

Wednesday only, the restaurant will give away cheesecake to the first 40,000 people that order from the restaurant through delivery service DoorDash. The free cheesecake will begin at 11:30 a.m. local time and run through 10 p.m., or until supplies run out.

Customers can get their own free slice of cheesecake by using the promo code FREESLICE when they checkout with DoorDash.

To make this deal even sweeter, The Cheesecake Factory is extending free delivery on all DoorDash orders from the restaurant through Dec. 11. No promo code is needed.

And now until Dec. 31, every $25 Cheesecake Factory gift card purchased will receive a Slice of Joy card for a free slice of cheesecake or layer cake. The Slice of Joy card must be used between Jan. 1 and Mar. 31 and must be purchased at a Cheesecake Factory restaurant or through the company’s website.

Last year, The Cheesecake Factory gave away 10,000 free slices of cheesecake to honor its birthday, according to DoorDash.

Free Cheesecake Get your free cheesecake from The Cheesecake Factory by ordering from DoorDash Wednesday. Students enjoy the new peanut butter cheesecake at The Cheesecake Factory presents American Idol Lee DeWyze to kick off Feeding America's Hunger Action Month at James Hotel on August 28, 2010 in Chicago, Illinois. Photo: Getty Images/Tasos Katopodis