By smell and taste. To begin, give your nut butter a sniff. If it smells bitter or gives off a smell like oil paint, then it's likely rancid. Likewise, if it tastes bitter (more bitter than usual in the case of walnut butter) – better to chuck it.