49ers nose tackle Ian Williams has signed a contract extension through the 2015 season.