In this study, several imidazole derivatives in one pot multicomponent reaction from various aldehydes (1(a‐z)), 9,10‐phenanthrenequinone, or benzyl (2), and ammonium acetate (3) were synthesized in the presence of acetic acid (AcOH) under reflux conditions at 120°C. Also, the photochromic properties of synthesized compounds were investigated in AcOH as a solvent under laboratory conditions at a temperature of 120°C. Moreover, the antibacterial and antioxidant activity of the synthesized compounds was investigated. The structure of the products was confirmed using FT‐IR, UV‐Vis, 1HNMR, and 13CNMR spectroscopy. The antimicrobial activity of these compounds against gram‐positive bacteria including Bacillus subtilis (B.s) and gram‐negative bacteria including Escherichia coli (E. coli) bacteria was evaluated by the well diffusion (WD) method, and the compounds 4o showed significant results for both antibacterial activity. To gain insight into how these compounds interact with two types of targets, i.e., human topoisomerase II alpha (5GWK) and acetylcholinesterase (7AIX), binding calculations have been used that provide significant results for both targets and show that most ligands can effectively bind to cleft nucleotides. Interfere in the first one or be well placed in them. Hydrophobic pocket in the dimension, which can ultimately lead to high scores achieved.