Исследуется эволюция электронной структуры, оптических и магнитных свойств соединений ErNi5−x Cox (x = 0−4), происходящая при замещении никеля атомами кобальта. В приближении локальной спиновой плотности с поправкой на сильные электронные корреляции в 4 f -оболочке редкоземельного иона (метод LSDA+U) проведены спин-поляризованные расчеты зонного спектра данных интерметаллидов. Получены величины магнитных моментов ионов эрбия, а также никеля и кобальта при их расположении в различных кристаллографических позициях. Определены параметры обменных взаимодействий для 3d-подрешетки переходных металлов. Методом оптической эллипсометрии исследованы спектральные свойства соединений в интервале длин волн 0.22−15 µm. Экспериментальные частотные зависимости оптической проводимости в области межзонного поглощения света сравниваются с соответствующими характеристиками, рассчитанными из плотностей электронных состояний.Работа выполнена в рамках государственного задания ФАНО России (тема " Электрон", № АААА-А18-118020190098-5) при частичной поддержке РФФИ (проекты № 17-52-45056, 16-52-48012).