Abstract Purpose To investigate the electrogenesis in the L‐ and S‐cone system of the retina and their role in diagnosis of focal and diffuse macular edema (ME) in diabetic retinopathy (DR). Methods 30 patients with diabetes mellitus type II were tested. All patients had ME: focal – 24 eyes, diffuse – 21. ISCEV Standard electroretinography (ERG) tests and additional chromatic macular ERG (M‐ERG) were used. Psychophysical test was presented by screening a topography of contrast and color sensitivity of the cone system. OCT was used to confirm macular edema that was found ophthalmoscopically. Results In focal and diffuse ME a similar decrease of amplitude (?=6 mv; norm M=18 mv) and prolonged latency of b‐wave (M=58 ms; norm M=54 ms) to red stimuli were registered. M‐ERG to blue stimuli was subnormal in all cases: b‐wave amplitude in focal ME was M=23 mv, in diffuse M=26 mv (norm ?=62 mv). The b‐wave latency of M‐ERG to blue (norm ?=62 mv) was prolonged mostly in focal (M=80 ms) than in diffuse ME (M=76 ms). Campimetry for color sensitivity to red and blue stimuli revealed significant changes in all patients, dark channels affected earlier than light. Conclusion In focal and diffuse ME similar changes of chromatic M‐ERG to red and blue stimuli are an evidence of cone function suppression. Prolonged b‐wave latency is due to excitation delay from photoreceptors to ganglion cells as a result of neuronal damage. Decreased sensitivity of dark and light channels with dominant localization of pathological process in macular area were found. The functionally revealed changes in focal ME may reflect the extensiveness and prevalence of retinal damage unlike the clinical picture.