v3.26.1
Label Element Value
Risk/Return: oef_RiskReturnAbstract  
Document Type dei_DocumentType 497
Document Period End Date dei_DocumentPeriodEndDate Jan. 30, 2026
Registrant Name dei_EntityRegistrantName BNY Mellon Investment Funds I
Entity Central Index Key dei_EntityCentralIndexKey 0000799295
Amendment Flag dei_AmendmentFlag false
Document Creation Date dei_DocumentCreationDate Jul. 31, 2026
Entity Investment Company Type dei_EntityInvCompanyType N-1A
Prospectus Date oef_ProspectusDate Jul. 31, 2026
BNY Mellon Small/Mid Cap Growth Fund | A  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol DBMAX
BNY Mellon Small/Mid Cap Growth Fund | C  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol DBMCX
BNY Mellon Small/Mid Cap Growth Fund | I  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol SDSCX
BNY Mellon Small/Mid Cap Growth Fund | Y  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol DBMYX
BNY Mellon Small/Mid Cap Growth Fund | Z  
Risk/Return: oef_RiskReturnAbstract  
Trading Symbol dei_TradingSymbol DBMZX