cook the ribs in the air fryer for 20 to 40 minutes at 400 degrees fahrenheit, depending on the rib thickens as well as your air fryer. after the ribs are done, you may brush some bbq sauce and pop in the air fryer for 5 more minutes, but it is not necessary.