The submittted thesis is focused on solving the problem of electric fire alarm (EFA) and electronic security system (ESS) of the building. The theoretical part deals with the description of electric fire alarms and electronic security systems. The purpose, principles of work and various components are explained. The practical part of the work deals with the technical solution of securing choosen building using electric fire alarm and electronic security system. The practical part of the work deals with the technical solution of securing choosen building using electric fire alarm and electronic security system. The building, risk analysis of it and the particular selection of type and components of EFA and ESS is described there.