1 Introduction

In recent years, great deals of research efforts have been done on developing uniquely versatile metal oxide nanomaterials with superior properties which are not observed in conventional materials in technological applications. Zinc oxide (ZnO) is one of the most comprehensively studied materials in this category of II–VI semiconductors due to its high direct band gap ~3.4 eV, large exciton binding energy (60 meV) and a large conducting range from 104–10−12 ohm cm. In optoelectronic devices, ultraviolet lasers, gas sensors, solar cell, photo catalyst and light emitting diodes; ZnO is the most widely used due to its direct wide band gap energy, high electron mobility and luminescence etc. [1,2,3,4,5]. This oxide is economical, environment friendly having high sensibility, low cost and revealing a high thermal and chemical stability, which makes it even more usable and acceptable [6, 7]. In the present times, the greatest concern of researchers is to remove hazardous pollutants from air and water and ZnO has reflected better photocatalytic efficiencies in comparison to TiO2, which can remove organic compounds in water matrices based on its larger initial activity rates and its efficient absorption of solar radiation [8, 9].

The crystal structure, morphology, size and surface defects are the important characteristics on which the properties of ZnO nanostructures depend. It’s been proved that alteration of ZnO nanostructures could enrich their properties through doping of transition metals or rare earth (RE) elements [10,11,12,13,14]. If RE elements integrated into suitable matrices; which is an emerging topic of eminence for their partially filled 4f shells surrounded by completely filled 5s and 5p shells, their intra 4f⟶4f optical transitions become possible [15]. The modification with the incorporation of dopant ions significantly enhanced the photocatalytic and sensing performance of ZnO [16, 17]. Undoped ZnO exhibits the paramagnetic behaviour whereas the transition or RE element doped ZnO has been detected to exhibit ferromagnetic characteristic at room temperature [18,19,20,21,22]. The extensive studies about RE elements doped ZnO is conducted for industrial application in the field of spintronic, photoluminescence, laser, fibre amplifier and so on [23,24,25,26,27]. Erbium (Er), out of the various RE elements, is an important focus of attention because of its enormous potential in various applications. Although ZnO is a good matrix material to host the Er ions as it is not only responsible for the allowance of 4f transition, prohibited in isolated atom but also for the reason that it enhances the emission yield for the transition [28, 29].

Considering the above as base, this work explores the fact that using a simple chemical precipitation technique undoped ZnO and a series of Er doped ZnO samples were prepared. Until now, RE doped ZnO nanostructures have been synthesized by different method such as pulsed laser deposition, magnetron synthesis, chemical vapour deposition, spray pyrolysis, solution combustion and vapour transport route [30,31,32,33]. An important role is played by the synthesis method in enhancing the properties of materials. The production of huge amounts of high uncontaminated samples at low cost is facilitated by the conventional chemical precipitation method. Present work exposes and diminishes the controversies that still exist regarding whether RE elements could be incorporated into the semiconductor nanocrystals or not, and if; whether efficient energy transfer from the ZnO host to RE element could occur or not. This work exhibits that doping of Er ion can be effectively done in ZnO nanostructures with some parameters of chemical precipitation method such as solution properties, mixing rate, pH value and drying treatment. The prepared samples were characterized by XRD, HRSEM, EDX, UV/Visible spectroscopy, PL and VSM. The improved structural transformation, luminescence, ferromagnetism characteristics and a decrease in band gap energy has been reported in this paper. It’s low cost, high yield and ability to attain high purity in fabrication of undoped ZnO and Er doped ZnO nanostructures proved chemical precipitation to be highly advantageous method.

2 Experimental details

In the present investigation, Er doped ZnO and the undoped ZnO powders were prepared via the chemical precipitation route. All the reagents used were of analytical grade (Sigma-Aldrich) without further purification. Er doped ZnO powders were prepared by zinc acetate [Zn(CH3COO)2·2H2O; 99.5% purity], Erbium(III) oxide [Er2O3; 99.9% purity], sodium hydroxide [NaOH; 98% purity] and ammonium hydroxide [NH4OH; 99.99% purity]. Four batches of samples were prepared by varying the different molar concentration of doping erbium oxide in zinc acetate as 1, 3, 5 and 7 at.%. As per described Er doping concentration, the calculated amount of erbium oxide solution was added to zinc acetate solution. In this foundation solution, 1 M solution of ammonium hydroxide and sodium hydroxide was added drop-wise. The ammonium hydroxide and sodium hydroxide were used as OH source for forming the complexes and to control the pH value of solution respectively. During the entire process, magnetic stirring was carried out to achieve the precipitate of Er doped ZnO samples. Undoped ZnO powder was formed by zinc acetate, sodium hydroxide and ammonium hydroxide. Zinc acetate and ammonium hydroxide were dissolved into de-ionized (DI) water with magnetic stirring until they form clear solutions. Sodium hydroxide (1M) solution was added drop-wise into the prepared clear solution of zinc acetate and ammonium hydroxide with constant magnetic stirring. In both cases, these precipitates were thoroughly washed several times with DI water to remove the unwanted ions. These washed precipitates were dried at 60 °C for 2 h. These dried precipitates were grinded and added 100 ml DI water and again dried at 60 °C for 40 h followed by normal cooling up to the room temperature; then final powder products were collected carefully. As per the established literature on chemical precipitation technique leading to the formation and controlling of undoped ZnO and Er doped ZnO nanostructures is critical. Due to this reason, the slow mixing of reactants and the pH value (~12) of all samples were kept constant during synthesis process.

The crystalline phase and structural information of prepared samples were studied by using a Bruker D8 Advance X-ray diffractometer with CuKα radiation of wavelength λ = 0.15405 nm. All XRD measurements were performed in the range of 2θ = 20°–90° at a scan speed of 3°/min at room temperature. Surface morphology and chemical composition of samples were investigated by using a JEOL JEM-2100F HRSEM equipped with EDAX equipment. The nanostructures were also analyzed by dissolving Er doped ZnO nanostructures in DI water followed by ultrabath sonication for 20 min. The samples were subjected to optical characterizations. The UV–Visible spectra of prepared samples were carried out by using JASCO UV–Visible spectrophotometer (Model-Lambda). PL measurements of prepared samples were made by employing Lab RAM UV–Vis–NIR spectrometer Horiba Yvon having The-Cd 325 nm. Magnetic properties of the synthesized samples were obtained from VSM at room temperature.

3 Results and characterization

3.1 XRD characterization

The XRD patterns of undoped ZnO and Er doped nanostructures [Zn1 − xErxO, where x = 1, 3, 5 and 7 at.%.] have been analysed about crystallographic and structural information. Powder XRD patterns of undoped ZnO and Er doped ZnO samples are plotted against intensity versus 2θ in range of 30°–75° in the Fig. 1i. All the patterns are in close agreement with the standard XRD data (JCPDS file no. 36-1451) indicating the hexagonal wurtzite structure. The prominent diffraction peaks observed at 31.79°, 34.52°, 36.24°, 47.60°, 56.58°, 62.95°, 68.04°, and 69.12° respond from lattice planes (100), (002), (101), (102), (110), (103), (112) and (201) respectively. This graph shows that Er3+ ions sit at the host Zn2+ sites without disturbing the wurtzite structure because no extra peaks obtained from Er related second phase than those of ZnO such as Er2O3. The peaks in the diffraction pattern of Er doped samples show slightly shifting towards lower angles as compared to undoped ZnO. The trend of (101) peak shifting with different Er doping as shown in Fig. 1ii, is of particular interest here. This means that the lattice parameter increases with the Er doping which is an expected result because the ionic radius of Er3+ (0.88 Å) is greater than the ionic radius of Zn2+ (0.74 Å). The average crystallite size of samples has been calculated, using the Debye Scherrer’s formula:

Fig. 1
figure 1

i XRD pattern of a undoped ZnO, b 1, c 3, d 5, and e 7 at.% Er doped ZnO nanostructures, ii shifting of (101) peak for respective nanostructures

$$D=\frac{{0.9\lambda }}{{\beta ~\cos \uptheta }}$$

where λ is wavelength of the CuKα radiation (0.15405 nm), β and θ are the FWHM and the diffraction angle of the observed peaks using the diffraction intensity of (101) lattice plane. In order to examine the doping effect of Er concentration on the crystal parameters of prepared nanostructures, the lattice parameters, bond length and volume of unit cell for hexagonal system have been calculated using lattice geometry equation.

$$\frac{1}{{{d^2}}}=\frac{4}{3}\left( {\frac{{{h^2}+hk+{k^2}}}{{{a^2}}}} \right)+\frac{{{l^2}}}{{{c^2}}}$$

where d is the inter-planer spacing between the planes and h, k and l are miller indices. The bond length (Zn–O) can be calculated using this formula,

$$l=\sqrt {\frac{{{a^2}}}{3}+\left( {0.5 - {u^2}} \right){c^2}}$$

where a and c are lattice constants of ZnO and u is the wurtzite structure parameter which can be calculated as,

$$u=\left( {\frac{{{a^2}}}{{3{c^2}}}} \right)+\frac{1}{4}$$

In addition, the volume of unit cell has been calculated using the formula,

$$V=0.866{a^2}c$$

All these parameters of samples are summarized in Table 1. From the Table 1, no fixed pattern of variation in the calculated crystal parameters could be observed for these nanostructures on comparing previously reported literature [34,35,36]. Only a fixed increasing pattern in D (crystallite size) is observed from 0 to 7 at.% Er doped ZnO. But as the doping concentration increases, the slight variation in lattice constants, bond length and volume of unit cell could be due to Zn and Er ionic size mismatch and the replacement of Zn2+ ions with the Er3+ ions in the crystal lattice.

Table 1 Average crystallite size, lattice constants, bond length and cell volume of undoped ZnO and Er doped ZnO samples

3.2 EDX characterization

In order to confirm the presence of Er3+ ion and determine its chemical composition, EDX analysis of 1 and 5 at.% Er doped samples were carried out. The EDX of 1 and 5 at.% Er doped samples is shown in Fig. 2a, b. For accuracy, EDX measurement was carried out at a number of locations all over the sample. From EDX analysis the presence of Zn, Er and O elements were confirmed in the sample. According to the EDX analysis Zn and Er contents in the composition of 1 and 5 at.% Er doped samples are close to the proposed doping concentration. All the above results of XRD and EDX indicate that the Er3+ ions are effectively doped into the crystal lattice of ZnO matrix without forming erbium oxides or any other impurities at the surface of ZnO.

Fig. 2
figure 2

EDX spectrum of a 1 and b 5 at.% Er doped ZnO nanostructures

3.3 HRSEM characterization

The morphological features of prepared samples were carried out by using HRSEM images. The incorporation of Er ion in Zn lattice sites makes the changes in the morphology of crystallites. Figure 3a–e shows HRSEM images of undoped ZnO and Er doped ZnO samples, where structures are in the nm range. The distribution of sizes as well as shape is irregular and this may be due to the damages occurred in the re-crystallisation or coalescence of nanostructures in formation of larger agglomeration of ZnO lattice during the heating process. As shown in Fig. 3a, the surface texture of undoped ZnO is irregular in shape and is found to be in 50 nm range.

Fig. 3
figure 3

HRSEM images of a undoped ZnO, b 1, c 3, d 5, and e 7 at.% Er doped ZnO nanostructures

It is observed that the doping of Er with ZnO remarkably changed the morphology of the nanostructures from nanorods-like to nanocones-like, as shown in Fig. 3b–e. For 1 at.% Er doped ZnO nanorods of approximately 100 nm long and 25 nm thick are observed in Fig. 3b, which is similar to undoped ZnO nanostructures, influence of Er doping on size or shape is not observed at this stage. For 3 at.% Er doped ZnO nanorods of approximately 200 nm long and 50 nm thick are seen in Fig. 3c. Infact onset of structural transformation is evident for 3 at.% Er. At this stage, enhanced Er doping induced anisotropic growth not only causes the formation of nanorods but here onwards, the evolution of nanocones initiates as marked through the dashed lines in Fig. 3c. The systematic transformation continues with further Er doping and is vividly evident for 5 and 7 at.% Er doped nanostructures, as shown respectively through Fig. 3d, e. The dominant growth of structure for 7 at.% Er doping is demonstrated clearly through the formation of approximately 400 nm long and 70 nm thick structure of nanocones-like as exhibited in Fig. 3e.

Therefore the observed changes in structures can only be attributed to the effects of dopant, which might act as structure driving agents through selectively adsorbing onto ZnO crystalline planes. Structurally ZnO has three types of crystalline planes—two non-polar (2\(\overline {1}\) \(\overline {1}\)0) and (01\(\overline {1}\)0) planes and a polar (0001) basal plane. The polar basal plane has high surface energy as compared to non-polar planes [37]. Furthermore, under thermodynamic equilibrium condition the facets with higher surface energy are usually smaller in surface area whereas the lower energy facets are larger [38]. Therefore the growth of crystals in c axis direction is faster which leads to the formation of nanorod to nanocone shape crystal as it is indicated in Fig. 3b–e.

3.4 UV–Visible characterization

As doping is an effective way to alter the optical and electrical properties of semiconductor materials. To further improve the performance of their optoelectronic devices, RE elements have always attracted a large group of researchers [39,40,41,42,43,44,45,46,47,48,49]. RE elements such as Eu, Tb, Yb, and Nd are the famous visible luminescence centers once they are incorporated into the host matrix [39,40,41]. Therefore, it is widely expected that doping of RE element into the ZnO lattices would open the channels for efficient visible light emissions [39]. Recently, Eu3+ ion as one of the most famous red emitting activators has been successfully incorporated into the ZnO nanoparticles, nanorods arrays, and nanospheres and most of them provide the red emission at 615 nm due to the intra 4f shell 5D0 ⟶ 7F2 transitions, which makes Eu doped ZnO a promising candidate for the white light-emitting diode and planar display due to their multi-colour emissions [39]. However, there are few reports for Er3+ ion doped ZnO nanoparticles [30, 42]. The interest of Er doping originates from the motivation to doping the dissimilar element (here in our case Er) in ZnO lattice due to the huge differences in their ionic radii (Er3+ = 0.88 Å) and charges between Zn2+ and Er3+ ions [39]. Thus, based on previous data, it is crucial to detect the changes observed due to Er doping in electronic levels by recording the absorption spectra of UV–Visible spectroscopy of the prepared nanostructures (as shown in Fig. 4).

Fig. 4
figure 4

Room temperature UV–Visible spectra of a undoped ZnO, b 1, c 3, d 5, and e 7 at.% Er doped ZnO nanostructures. The red shift in band gap is depicted by the line with dotted arrow with increasing Er doping. (Color figure online)

As shown in Fig. 4a, one can observe a small hump at 3.34 eV (371 nm) for undoped ZnO nanostructures. This shows that the prepared nanostructures are depicting a slight blue shift as compared to bulk ZnO materials (BulkZnO = 3.2 eV) [10]. On doping the 1 at.% Er in ZnO (Fig. 1b), the band gap shows a slight red shift from 3.34 to 3.3 eV (375 nm). This trend of red shift in band gap continuously observed at 3.26 eV (380 nm), 3.20 eV (387.5 nm), and 3.19 eV (388.7 nm) for 3, 5 and 7 at.% doping concentration of Er3+ ion in ZnO nanostructures (Fig. 4b–e) respectively. Our results are in good agreements with the previously published report [30]. Another observation which can be derived from Fig. 4 is the corresponding area and peak intensity increase with increasing the doping concentration from 1 to 7 at.% Er in ZnO host lattice. This peak broadening and red shift in band gap signifies the incorporation of Er in ZnO nanostructures [30]. This red shift in band gap prompted us to further perform the luminescence study as is discussed ahead.

3.5 PL characterization

Optical properties of ZnO nanostructures become increasingly important as the size of structures is reduced to nanoscale [43]. The parameter related to surface and size confinement effects of nanomaterials not only vary the band gap but also influence their optical transitions, such as luminescence [10]. Generally ZnO exhibits a visible deep level emission with a peak in the range from 450 to 730 nm [44]. Among the various luminescence properties of ZnO nanoparticles, the green emission around 521 nm is usually reported [43]. Another way to alter the luminescence centres in ZnO is to dope it with either transition elements or with RE elements like Eu, Er [39]. Previously, Eu doping in ZnO lattice pointed out that the host lattice transfer the energy resonantly to Eu3+ ion by trapping as oxygen vacancy and energy storage centers [39]. Furthermore, doping of RE elements helps in revealing the fundamental phenomenon of nano-order surface effects by utilizing the PL technique, since it is an effective method to gain a good understanding and systematically investigate the luminescence mechanism and the excitation pathways of the RE3+ ions in semiconductor hosts [39]. Therefore, we present the  PL emission spectra of Er doped ZnO nanostructures as shown in Fig. 5. In Fig. 5, we have labelled the four peaks based on their intensities from peak 1–4 and elaborate their discussions in the order of decreasing intensities.

Fig. 5
figure 5

Room temperature Photoluminescence emission spectra of a undoped ZnO, b 1, c 3, d 5, and e 7 at.% Er doped ZnO nanostructures

First, we define the transitions occurring in undoped ZnO nanostructures shown by Fig. 5a. Peak ‘1’ corresponds to the band energy transitions occurring at 371 nm thus depicting the quantum confinement effect of nanosize occurring therein [10]. A huge hump ranging from 400 to 600 nm centred at 521 nm is the widely reported for green emission. Although a variety of literature is reported for this emission but this peak in undoped ZnO nanostructures is corresponding to the radiative recombination of the photo-generated hole with an electron occupying the oxygen vacancy [43, 45]. As previously reported that for wurtzite structure of ZnO, valence band (VB) lies in O-2p state while Zn have a 4s–O 2p σ* interaction which is mainly responsible for two lowest conduction band (CB) that covers a bandwidth of − 10 eV. There is dispersion in the VB due to different factors out of which one major reason is overlapping of filled Zn 3d and O 2p orbitals [46]. Since ZnO is an n-type semiconductor, most defects are Zn interstitials (I Zn) and oxygen vacancies (V O) [10]. It is well known that visible luminescence is mainly due to defects that are related to deep level emissions such as I Zn and V O [43]. Visible luminescence in ZnO is primarily caused by the transition from deep donor level to VB due to oxygen vacancies and by the transition from CB to deep acceptor level due to impurities and defect states [43]. The structure of nanosize ZnO contains large voids, which can easily contain interstitial atoms and thus the appearance of blue emission in prepared ZnO nanostructures appear as a huge hump originating from 400 to 600 nm depicting the formation of interstitial defects of Zn [47]. ZnO has tightly bound 2p electrons of oxygen and 3d electrons of Zn, which have some attraction affinity [43]. Also, previous first principal calculations concluded that the Zn 3d electrons interact strongly with the 2p electron of O in ZnO structure [48]. As the centre energy of the green peak is different from the band gap energy of bulk ZnO (3.2 eV), this emission cannot be a result of direct recombination of a conduction electron in the Zn 3d band and a hole in the O 2p VB. Therefore, green emission must be related to the local level in band gap [43]. In fact the green emission results from the radiative recombination of photo generated hole with an electron occupying the oxygen vacancy [45]. We now explain the peak observed for orange-red emission around 736 nm corresponds to defects such as V O [49].

Having explained the origin of green and orange-red emissions in undoped ZnO nanostructures, we now explain the changes observed in luminescence properties with Er doping in ZnO lattice. It has been previously reported that among the different RE ions, Er occupies a relevant position because of its crucial functioning in the up conversion phenomena and the intense 0.8 eV intra-ionic emission usually referred to as the 1.54 µm has a very special importance for the optical communications [30]. On the other hand, ZnO is a good matrix material to host the Er ions since not only is it responsible for 4f transitions, which were prohibited in isolated atoms, but also because it improves considerably the emission yield for these transitions [30]. Previously in a report, lower dopant concentration leads to a noticeable quantity of nanostructures but also resulted in poor luminescent properties while higher Er concentrations give rise to very irregular and disordered structures [30]. The reason behind this was the probable stresses induced by the large Er ions in the ZnO structure [30]. Also, low doping concentration < 3 at.% detection limit of XRD is difficult to be examined, as in our case no extra impurity or precursor phase was observed in XRD. But the luminescence characterizations bring out the probable transitions occurring therein. The results are discussed ahead.

As seen in Fig. 5a–e, the most prominent peaks are labelled as peak ‘1’. These peaks are observed at 371, 375, 380, 387, and 388 nm for undoped ZnO, 1, 3, 5 and 7 at.% Er doped ZnO nanostructures respectively. These most intense transitions observed in prepared nanostructures correspond to inter band transitions from VB to CB [30]. However, one can notice a slight red shift in the wavelength depicting the similar behaviour observed through UV–Visible spectroscopy. Therefore, these peaks are in excellent agreement with UV–Visible analysis thus endorsing our results. One can observe the second and third intense peaks, labelled as ‘2’ and ‘3’, respectively in Fig. 5a–e. These peaks represent the blue and yellowish-red band transitions occurring due to Er doping in ZnO lattice. The intensity of the emission of peak ‘2’ at 488 nm (2.54 eV) increases with increase in Er doping in ZnO nanostructures. This blue emission at 488 nm has been reported for the transfer of energy between Er3+ excited ions present in the system and corresponds to 4F7/24I15/2 Er transitions [30]. On the other hand, the peak ‘3’ at 652 nm (1.90 eV) emission is the third intense peak. This band is usually attributed to the oxygen excess taking into account the usage of doping with erbium oxide, is consistent with a major incorporation of oxygen present in dopant ZnO nanostructures [30]. This is also in good agreement with the absence of red band at 736 nm peaks, earlier present in Fig. 5a for undoped ZnO nanostructures, for oxygen vacancy in ZnO nanostructures. Lastly, peaks at 558.6 nm (2.22 eV) and 536.8 nm (2.31 eV), corresponding to 4S3/24I15/2 and 2H11/24I15/2 transitions, respectively have much lower intensity as compared to other marked peaks. The relative intensities of these emissions are also a probe of the defect structure and quality of the nanostructures, since it is earlier reported that the transitions and their intensities are sensitive to local configuration of the particular ion involved in the transition and as a result their intensities diminish [30].

3.6 Magnetic characterization

To further understand the alternation in magnetic properties of undoped ZnO and Er doped ZnO nanostructures [Zn1 − xErxO, where x = 1, 3, 5 and 7 at.%.] systematic room temperature hysteresis loops were recorded and presented in the Fig. 6. In the present case, undoped ZnO nanostructures show the paramagnetic behaviour and Er doped ZnO nanostructures expose the ferromagnetic hysteresis loop at room temperature. Since, there is no reason to attribute the introduction of ferromagnetism to any dopant and moreover in this ZnO case, there is no 3d electron involved, one cannot think of any interaction that may originate from that and hence, the undoped ZnO bulk is expected to diamagnetic in nature [50, 51]. Multiple nanostructures of either inorganic or organic systems have been reported to show magnetic properties in the absence of magnetic elements [52,53,54,55,56] and even the suggestion of magnetism as a universal feature at the nanoscale has been proposed [57].

Fig. 6
figure 6

M–H curve for a undoped ZnO, b 1, c 3, d 5, and e 7 at.% Er doped ZnO nanostructures

This study focuses on the outcome of Er3+ ions on the magnetic behaviour of ZnO nanostructures at room temperature. Er is one of the RE elements, which has more than a half filled 4f electron shells (4f 116s 0). We observe that, the saturation magnetization (MS), remanent magnetization (MR) and the coercivity (HC) value increases from x = 1 at.% Er to x = 7 at.% Er doped ZnO nanostructures, and are listed in Table 2. As the Er concentration increases, all these parameters are in appropriate increasing order. The magnetic moment per Er ion, which was obtained from the Ms/total number of Er, decreased from 0.1439/Er (x = 1) to 0.5548/Er (x = 5). The origin of ferromagnetism in Er doped ZnO nanostructures might be caused by the exchange interactions between unpaired electrons spins arising from oxygen vacancies and/or defects and confinement effects at the surface of nanostructures [57]. Furthermore RE ions introduce spin polarized localized states in the band gap. The impurity states are determined by the interaction between dopant atomic states and the host lattice. The interaction of the atomic states with the VB or CB would form bonding and anti-bonding states. After bonding, every RE atom loses three electrons and becomes RE3+ i.e. Er3+ ion. On the other hand, the magnetic ion is characterized by localized 3d or 4f shells. The magnetic properties are decided by the localized magnetic moments associated with the magnetic ions and their interaction with the host semiconductor. The desired magnetic behaviour in the case of RE ions is s, p–f atoms. As we know, 4f RE atoms have larger magnetic moments compared to those of the 3d transitions metal atoms [58, 59]. From this, it is clear that the magnetic moment was mainly contributed by the RE 4f orbital. Thus, Er doped ZnO nanostructures are observed to show dilute magnetic semiconducting behaviour.

Table 2 Values of saturation magnetization, remanent magnetization and coercivity of Er doped ZnO samples

4 Conclusion

In summary, undoped ZnO and a series of Er doped ZnO nanostructures samples were prepared by a chemical precipitation method and their structural, optical and magnetic properties as a function of doping concentration was undertaken. The foremost results from these studies are following: The XRD results showed that the undoped ZnO and Er doped ZnO nanostructures are single phase hexagonal ZnO and unwanted Er related compounds were not formed during the growth of Er doped ZnO nanostructures. EDX studies also showed that the Er ions were successfully integrated into the ZnO lattice sites. HRSEM images illustrated that the inclusion of Er ions in crystal structure of ZnO could significantly the morphological evolution of ZnO from nanorods-like to nanocones-like. These morphological changes could be explained by an increase of ZnO crystal growth rate along vertical direction due to doping of Er3+ ions in its crystal structure. Er dopant has a strong consequence on structural and optical properties, which could be shown in a considerable red shift in the band gap, the formation of new states due to doping level and the presence of an oxygen vacancy. Values of optical band gap decrease from 3.34 to 3.19 eV for undoped ZnO nanostructures and 1–7 at.% Er doped ZnO nanostructures respectively. PL analysis revealed that the Er3+ ions doped ZnO has a high optical property and kind of fascinating PL material that shows multiemission peaks at the blue to yellowish-red region, which was attributed to the enhanced defects or oxygen vacancies in excess caused by Erbium oxide dopant. At room temperature the hysteresis was observed in the M–H curves shows the presence of ferromagnetism in all Er doped ZnO samples, and it is found that the coercivity, remanent magnetization and the saturation magnetization values of these samples increases as the doping concentration is gradually increased from 1 to 7 at.% Er. The results suggest the possibility that the introduction of Er into ZnO material prepared by chemical precipitation method have the potential to be used in photonic and spintronic device applications.