Atelerix albiventris and Hystrix javanica were widely known as pets or livestock in Indonesia, but there has been no study about bacteria from the rectal swab before. This study aims to isolate, identify, and analyze the antibiotic sensitivity of the isolated bacteria from the rectal swab of Atelerix albiventris and Hystrix javanica. Rectal swab samples were cultured on blood agar plate and identified by selective media and biochemical tests. Kirby Bauer’s disk diffusion method was used for the antimicrobial sensitivity test. The result shows that the bacteria identified from the rectal swab samples of Atelerix albiventris are Escherichia coli (75%) and Proteus mirabilis (25%), meanwhile the bacteria identified from Hystrix javanica are Escherichia coli (100%). The identified Escherichia coli found from the sample is sensitive to Amikacin, Amoxycillin, Ampicillin, Enrofloxacin, Fosfomycin, Kanamycin, Chloramphenicol, Streptomycin, Tetracycline, and Trimethoprim; and resistant to Erythromycin and Penicillin G. The identified Proteus mirabilis is sensitive to Amikacin, Amoxicillin, Ampicillin, Kanamycin, and Trimethoprim; intermediate to Enrofloxacin; and resistant to Erythromycin, Fosfomycin, Chloramphenicol, Penicillin G, Streptomycin, and Tetracycline. This research concludes that the bacteria found from the rectal swab of Atelerix albiventris and Hystrix javanica are bacteria with similar species and characters.