The increasing prevalence of dating apps has reshaped the dynamics of romantic relationships, with many users already in committed partnerships. However, the link between encountering a large pool of potential alternatives and predicting current relationship outcomes, particularly infidelity and possible gender differences, has not been fully explored. Drawing on the investment model framework, this study examines the cognitive and psychological mechanisms underlying online and offline infidelity tendencies among dating app users in relationships. Data from non-single dating app users in Taiwan reveal a positive relationship between the quantity and quality of alternatives, suggesting that exposure to many profiles may prompt users to rely on heuristics and focus on distinctive characteristics to quickly assess potential alternatives. Furthermore, having many choices may satisfy the need for short-term encounters. The quality of alternatives is positively linked to partner choice regret, which negatively impacts commitment. Gender differences emerge, with males showing a higher likelihood of infidelity due to partner choice regrets, particularly in offline contexts. Despite maintaining a strong commitment to their primary partner, males exhibit a greater inclination towards offline infidelity, highlighting a scenario where commitment and infidelity may coexist for male dating app users. Theoretical implications of digital matchmaking in contemporary relationships are discussed.