Officers were sent Tuesday morning to a home on the 3000 block of Lotus Lane, just east of the Bakersfield Municipal Airport.
There, Sgt. Joe Grubbs said 23-year-old Augustine Patino confronted officers with the large knife. Officers, meanwhile, helped other family members get out the back of the house.
Police deployed "specialty impact munitions" during a 40-minute standoff to disarm and arrest Patino, but those munitions were ineffective, police said.
After attacking a small family dog with the machete, Patino threw the knife into the air, and officers used a service dog and Taser to take him into custody, police said.
Patino suffered some dog bites. Grubbs said Patino's father suffered some injuries to his hands and wrists.
Patino was arrested on suspicion of attempted murder, assault with a deadly weapon, assault with a deadly weapon on a peace officer, brandishing a weapon, cruelty to animals, and being under the influence of a controlled substance.