CoCrFeNi high-entropy alloys represent a novel structural material with considerable application potential in a variety of fields, including aerospace, automobiles, ships, machining, energy, soft magnetic materials, and hydrogen storage materials. The present study investigates the impact of the Al element on the structure and properties of the alloy. The preparation of the AlxCr1-xCoFeNi (x = 0.1, 0.2, 0.3, 0.4, 0.5) powders involved the use of a variety of elemental metal powders as raw materials and a mechanical alloying process at 350 rpm for 40 h. The sintering of the alloy powders was subsequently conducted using spark plasma sintering at 1000 degrees C. The microstructure of the alloys was analyzed using XRD, SEM, and EDS, and the properties were analyzed using a universal testing machine, a hardness measurement, friction and wear measurement, and an electrochemical workstation. The study shows that when x = 0.1, the crystal structure of Al0.1Cr0.9CoFeNi consists of a double FCC phase and a trace amount of sigma phase. As the aluminum content increases, part of the FCC phase begins to transform to BCC. When x = 0.2 similar to 0.5, the alloy consists of a double FCC phase and a BCC phase and a trace amount of a sigma phase. As the BCC phase in the alloy increases, the tensile strength of the alloy increases, the ability to deform plastically decreases, and the hardness increases. The highest ultimate tensile strength of 1163.14 MPa is exhibited by Al0.5Cr0.5CoFeNi, while the minimum elongation is 26.98% and the maximum hardness value is 412.6 HV. In the initial stage of friction measurement, the wear mechanism of AlxCr1-xCoFeNi is adhesive wear. However, as the test time progresses, an oxide layer begins to form on the alloy's surface, leading to a gradual increase in the friction coefficient. At this stage, the wear mechanism becomes a combination of both adhesive and abrasive wear. Once the oxidation process and the wear process have reached a dynamic equilibrium, the friction coefficient stabilizes, and the wear mechanism transitions to a state of abrasive wear. The Al0.1Cr0.9CoFeNi alloy demonstrates the lowest friction coefficient and wear rate, exhibiting values of 0.513 and 0.020 x 10(-3) mm(3)/Nm, respectively, while the Al0.5Cr0.5CoFeNi alloy demonstrates the highest performance, with a self-corrosion voltage of 0.202 V in a 3.5 wt.% NaCl solution. The experimental findings demonstrate that, in the presence of a decline in the Cr element within a high-entropy alloy, an augmentation in the Al element can facilitate the transition of the FCC phase to the BCC phase within the alloy, thereby enhancing its mechanical properties. However, in the AlxCr1-xCoFeNi HEAs, the presence of the Cr-rich and Cr-poor phases invariably results in selective corrosion in a neutral NaCl solution. The corrosion resistance of this alloy is weaker than that of a single-phase solid solution alloy with a similar chemical composition that only undergoes pitting corrosion.