plain, unprocessed nuts and peanuts are gluten-free. 1 but many brands of nuts are not safe on the gluten-free diet, because nuts often are processed and packaged on lines shared with gluten-containing products.