Introduction. The results of the research are presented, making the research and concepts identified in the economy compatible. Objective. Identify the context in which the digital economy develops, its progress and impact on the Peruvian economy, specifically in the city of Lima, and its relationship with consumption. Materials and methods. The research approach is quantitative-qualitative with a descriptive scope. Two questionnaires are applied, structured for users and unstructured for experts. Results. The application of questionnaires and compatibility with secondary data expose the accelerated application of information and communication technologies and the strengthening of the digital economy. Related electronic commerce drives the development of consumer banking. The trend of countries towards the digital economy requires social and regulatory changes to test the technology. 58.4 % of consumers in Metropolitan Lima recognize its importance for society, but only 6.0 % allocate more than 50 % of the budget to online purchases. Conclusions. The development of the digital economy and electronic commerce favors society with lower costs, diversity of supply and time savings in physical travel. Policies that promote inclusion and equal access are needed. In the consumers of Metropolitan Lima there is the possibility of developing electronic commerce and limitations.