Pepcid (famotidine) typically starts to work within 15 to 30 minutes after taking it. The maximum effect usually occurs within 1 to 3 hours. It provides acid control that can last up to 10 to 12 hours. For faster relief, Pepcid Complete, which combines famotidine with antacids, can start neutralizing acid in seconds. Pepcid can also be taken 15 to 60 minutes before a meal to help prevent heartburn from occurring.